Question: how many times was the incumbent is john b. yates?
SQL: SELECT COUNT(party) FROM table_2668347_14 WHERE incumbent = "John B. Yates"