How many parties were first elected in 1805?
CREATE TABLE table_2668374_18 (party VARCHAR, first_elected VARCHAR)
SELECT COUNT(party) FROM table_2668374_18 WHERE first_elected = "1805"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2668374_18 (party VARCHAR, first_elected VARCHAR) Question: How many parties were first elected in 1805? [/INST] SELECT COUNT(party) FROM table_2668374_18 WHERE first_elected = "1805" </s>