(a) When more than one local government levies an occupation tax on a business or practitioner which has locations encompassed by the county and other local governments, and such governments use different criteria to establish the amount of occupation tax, the county shall base its tax on the number of employees who are employed within the county's geographical jurisdiction by such business or practitioner. In the case of an employee who works for the same business or practice in more than one municipal corporation or county, the county shall include such person as an employee in its occupation tax calculations if the employee works for the longest period of time within the calendar year within the county's geographic jurisdiction.