Refinance Fees on Rental Property

I bought my home in 2009, I refinanced in 2012, and I refinanced again in 2013.

 

In 2019, I moved out and rented my home. I know I can deduct recording fees, legal fees, stamp taxes for rental property, BUT do I add ALL the fees and taxes I paid for the original purchase and refinances? Or do I only calculate the original fees/taxes? Or do I use the last refinance?