CREATE TABLE table_29486189_4 (representative VARCHAR2, first_elected VARCHAR2, residence VARCHAR2)

how many representatives from hanover twp were first elected in 2008
SELECT COUNT(representative) FROM table_29486189_4 WHERE first_elected = "2008" AND residence = "Hanover Twp"
SELECT COUNT("representative") FROM "table_29486189_4" WHERE "2008" = "first_elected" AND "Hanover Twp" = "residence"