Question: how many times was the incumbent is john b. yates?
SQL: SELECT COUNT Party FROM table WHERE Incumbent = John B. Yates