In those states which require the counties to pay all or a part of the cost of maintaining persons in institutions, some of the county or other local taxes collected are turned over to the state agency which uses them in partial payment for the cost of services.