CREATE TABLE table_2668347_14 (party VARCHAR, incumbent VARCHAR)

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