Deductions & credits

Thank you!  Follow-up question about expenses as opposed to improvements:

 

I am assuming we would only be able to deduct expenses for taxes, utilities, etc. apportioned for the 4 months that we rented in 2022, not whole year amounts.  Correct?

 

Thanks again.