HARRISBURG, Pa. (AP) – A just-signed law designed to modernize Pennsylvania’s election laws and help pay for new voting machines also includes money for the state to bolster federal census efforts.

Legislation signed Thursday by Gov. Tom Wolf authorizes up to $4 million to help ensure a complete and accurate 2020 census count in Pennsylvania.

READ MORE: 'I Was Terrified:' Woman Recalls Stranger Following Her Car For Miles

The government takes a headcount every 10 years to allocate seats in Congress and billions in federal dollars for such things as transportation projects and education.

READ MORE: Domestic Incident Inside Of The Mall At Robinson Leads To Chaotic Scene

Wolf’s office says Pennsylvania would lose almost $2,100 a year in federal aid for each person who isn’t counted, and some states are devoting money to the cause.

A commission tapped by Wolf had asked the Republican-controlled Legislature for $1 per person to aid census outreach, or close to $13 million.

MORE NEWS: Mountaineers Become Bowl-Eligible With 34-28 Win Over Kansas

(Copyright 2019 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)