Because the workplace rule reaches short visits, states that use it have to write an exemption, and the exemption is where the detail lives. Ohio Revised Code 718.011, headed "Occasional entrant exemption," provides that an employer is not required to withhold municipal income tax on wages paid for services performed in a taxing municipality where the employee performed those services "on twenty or fewer days in a calendar year." Four situations disapply it: the employee's principal place of work is in the municipality; the services were at a presumed worksite location, meaning a site the employer can reasonably expect to last more than twenty days; the employee is a resident who has asked for withholding; or the employee is a professional athlete, professional entertainer or public figure paid in that capacity, which is what jock tax describes.
"Principal place of work" is defined in a cascade, and the last step is a tiebreaker most people would not guess. It is the fixed location an employee is required to report to on a regular and ordinary basis. Failing that, the worksite location they must report to regularly. Failing that, "the location in this state at which the employee spends the greatest number of days in a calendar year performing services." And where two or more municipalities tie on days, the employer allocates the wages between them "using any fair and reasonable method."
One clause in that section has an outsized effect on remote work. Ohio's definition of a worksite location ends: "'Worksite location' does not include the home of an employee." Pennsylvania's Department of Community and Economic Development takes the opposite line for its own scheme, listing among examples of business worksites "factories, warehouses, branches, offices and residences of home-based employees." Two states, two answers, and an employee's kitchen table is a taxable worksite in one and not in the other.
Pennsylvania's design is different enough to make the general point. Under Act 32, employers with worksites in Pennsylvania are required to withhold and remit both a local Earned Income Tax and a Local Services Tax on behalf of employees working in the state. Jurisdictions are identified by a code system, and the employee completes a Residency Certification Form which the department describes as an "Addendum to Federal W-4 Form." So one state runs its local income tax through municipal collectors and a code lookup bolted onto the federal withholding form, while another runs it through a day-count exemption and a definition of principal place of work.
The name Pennsylvania uses is a trap worth flagging. Its local tax is called the Earned Income Tax, which is a completely different thing from the federal Earned Income Tax Credit. The two share four words and nothing else.
New York adds a third shape. Its Yonkers nonresident earnings tax is a local tax on wages derived from Yonkers sources, and the state applies the same convenience of the employer rule to it that it applies to the state income tax for nonresidents. So a local tax can inherit a state's sourcing doctrine wholesale rather than having one of its own.
On the federal return these taxes sit inside a single, capped deduction. State and local income taxes are one limb of the itemized deduction for state and local taxes, alongside property taxes and, by election, sales taxes. The cap and the mechanics belong to the SALT deduction; the only point to carry here is that a local income tax is not deducted separately from a state one.
How many places levy one is not a question with a citable answer. There is no national register of local income taxes, jurisdictions adopt and repeal them, and school districts and special districts complicate any count. The mechanism generalizes; a number does not.