(a) The city shall pay the county for assessments for expenditures of the county department of licenses and permits. The assessments to the city shall be prorated on the most recent census. The city will pay to the county, within 60 days of billing, any deficit between county expenditures for services and total fees collected. (b) For purposes of this section, the term "expenditures for services" means the entire cost to the county of performing each such function, including direct costs and a prorate of indirect costs. Costs shall include, but not be limited to, salaries of employees engaged therein, vacation, sick leave, retirement, traveling expenses, and overhead. The county shall annually determine the costs for services applicable to the next ensuing fiscal year and shall notify the city in writing no later than June 1 of each year.