The court costs in all such cases shall be paid by the county, municipality, or district proposing to issue said bonds or other written obligations, and in addition to such costs it shall also pay to the bond attorney a fee of not more than one-tenth of one percent (1/1 of 1%), provided said fee shall not be less than One Hundred Dollars ($100.00) nor more than Five Hundred Dollars ($500.00), of the amount of the bonds or other obligations issued or proposed to be issued. The payment of this fee shall be full compensation for all legal services rendered in connection with the issuance of said bonds, except that when the state’s bond attorney attends a hearing of objection to the validation of said bonds, his actual and necessary expenses and a reasonable rate of compensation for attending the said hearing as required by this chapter shall be taxed as a part of the costs of the validation proceedings, upon approval by the clerk or chancellor of an itemized account of such expenses and time expended. If objection is filed to the validation of said bonds, then in that event the taxation of court costs, including expenses and a reasonable rate of compensation for the bond attorney, shall be discretionary with the chancellor, as in other cases in the chancery court, against the issuing board or district, or the objector or objectors, or apportioned as the chancellor may deem proper.