I replaced an a/c for a rental property. How to calculate the depreciation expense of this?

Can this be counted towards expenses in that year?  Thanks!