CREATE TABLE table_1840495_2 (number_of_households VARCHAR2, per_capita_income VARCHAR2)

With a per capita income of $30,298, what was the total number of households?
SELECT COUNT(number_of_households) FROM table_1840495_2 WHERE per_capita_income = "$30,298"
SELECT COUNT("number_of_households") FROM "table_1840495_2" WHERE "$30,298" = "per_capita_income"