human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Election, # of candidates nominated, # of seats won, # of total votes, % of popular vote
###Question: How many times was the # of total votes 2582322?
gpt
SELECT COUNT # of seats won FROM table WHERE # of total votes = 2582322