Usually, when an HOA hires an attorney to collect on delinquent HOA fees, the cost of hiring the attorney is placed on the homeowner's ledger, and this extra cost becomes part of the total amount that the attorney seeks from the homeowner. However, the attorney can only pursue the homeowner for what the homeowner owes the HOA, which, yes, probably includes attorneys fees. The homeowner would not owe anything directly to the attorney. Therefore, if there is a possibility that you are due a refund or credit of attorneys fees, you would need to pursue that credit from the HOA, not the attorney. And then the HOA can go and hope to get a refund from the attorney for work done based on the HOA's error.