The cost of any program for the equalization of ad valorem taxes shall be prorated by each county governing body to each agency therein on the basis of the proportion of the moneys received by each agency in the county to the total amount received by all agencies of such county.