<Tr> <Td> <Ul> <Li> </Li> <Li> </Li> <Li> </Li> </Ul> </Td> </Tr> <Ul> <Li> </Li> <Li> </Li> <Li> </Li> </Ul> <P> Elections in the United States are held for government officials at the federal, state, and local levels . At the federal level, the nation's head of state, the President, is elected indirectly by the people of each state, through an Electoral College . Today, these electors almost always vote with the popular vote of their state . All members of the federal legislature, the Congress, are directly elected by the people of each state . There are many elected offices at state level, each state having at least an elective Governor and legislature . There are also elected offices at the local level, in counties, cities, towns, townships, boroughs, and villages . According to a study by political scientist Jennifer Lawless, there were 519,682 elected officials in the United States as of 2012 . </P> <P> While the United States Constitution does set parameters for the election of federal officials, state law, not federal, regulates most aspects of elections in the U.S., including primaries, the eligibility of voters (beyond the basic constitutional definition), the running of each state's electoral college, as well as the running of state and local elections . All elections--federal, state, and local--are administered by the individual states . </P>

How many elected offices are there in the united states
find me the text answering this question