The AP has been tracking vote counts in U.S. elections since 1848, including national, state and local races down to the legislative level in all 50 states, along with key ballot measures. The AP collects and verifies returns in every county, parish, city and town across the U.S., and declares winners in over 5,000 contests.