CREATE TABLE table_31163 ("District" FLOAT, "Representative" TEXT, "Party" TEXT, "Residence" TEXT, "First Elected" TEXT, "Term Limited" FLOAT)

how many representatives from hanover twp were first elected in 2008
SELECT COUNT("Representative") FROM table_31163 WHERE "First Elected" = '2008' AND "Residence" = 'Hanover Twp'
SELECT COUNT("Representative") FROM "table_31163" WHERE "First Elected" = '2008' AND "Residence" = 'Hanover Twp'