how many representatives from hanover twp were first elected in 2008
CREATE TABLE table_29486189_4 (representative VARCHAR, first_elected VARCHAR, residence VARCHAR)
SELECT COUNT(representative) FROM table_29486189_4 WHERE first_elected = "2008" AND residence = "Hanover Twp"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29486189_4 (representative VARCHAR, first_elected VARCHAR, residence VARCHAR) Question: how many representatives from hanover twp were first elected in 2008 [/INST] SELECT COUNT(representative) FROM table_29486189_4 WHERE first_elected = "2008" AND residence = "Hanover Twp" </s>