human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: District, Incumbent, Party, First elected, Results, Candidates
###Question: How many candidates were elected first in 1980?
gpt
SELECT COUNT Candidates FROM table WHERE First elected = 1980