CREATE TABLE table_2668347_17 (candidates VARCHAR, incumbent VARCHAR)

Name the number of candidates for samuel d. ingham
SELECT COUNT(candidates) FROM table_2668347_17 WHERE incumbent = "Samuel D. Ingham"
SELECT COUNT("candidates") FROM "table_2668347_17" WHERE "Samuel D. Ingham" = "incumbent"