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, Result, Candidates
###Question: How many times was incumbent Noble Jones Gregory first elected?
gpt
SELECT COUNT First elected FROM table WHERE Incumbent = Noble Jones Gregory