Question: How many first elected years are provided for Thomas P. Moore?
SQL: SELECT COUNT First elected FROM table WHERE Incumbent = Thomas P. Moore