Investors & landlords

Hello, can "Escrow fee" - the charge owner of rental property paid at closing for "escrow service" - be added to cost basis of rental property? I assume it goes under "legal fees"? Thank you