How many times was incumbent Noble Jones Gregory first elected?
CREATE TABLE table_1342218_17 (first_elected VARCHAR, incumbent VARCHAR)
SELECT COUNT(first_elected) FROM table_1342218_17 WHERE incumbent = "Noble Jones Gregory"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1342218_17 (first_elected VARCHAR, incumbent VARCHAR) Question: How many times was incumbent Noble Jones Gregory first elected? [/INST] SELECT COUNT(first_elected) FROM table_1342218_17 WHERE incumbent = "Noble Jones Gregory" </s>