Name the number of candidates for  samuel d. ingham
create table table_2668347_17 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))
select count(candidates) from table_2668347_17 where incumbent = "samuel d. ingham"