Attorney’s fees charged against each delinquent tax bill or parcel of real estate in any action brought under sections 141.210 to 141.810 shall be in the sum of five percent of the amount of taxes actually collected and paid into the treasury after judgment is obtained or if such taxes are paid before judgment, but after suit is instituted, two percent of all sums collected and paid into the treasury; and an additional sum in the amount of five dollars for each suit where publication is necessary, which amounts shall be taxed* and collected as other costs.