With a per capita income of $30,298, what was the total number of households?
CREATE TABLE table_1840495_2 (number_of_households VARCHAR, per_capita_income VARCHAR)
SELECT COUNT(number_of_households) FROM table_1840495_2 WHERE per_capita_income = "$30,298"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1840495_2 (number_of_households VARCHAR, per_capita_income VARCHAR) Question: With a per capita income of $30,298, what was the total number of households? [/INST] SELECT COUNT(number_of_households) FROM table_1840495_2 WHERE per_capita_income = "$30,298" </s>