CREATE TABLE table_28900 ("District" TEXT, "Incumbent" TEXT, "Party" TEXT, "First elected" TEXT, "Result" TEXT, "Candidates" TEXT)

how many times was the incumbent is john b. yates?
SELECT COUNT("Party") FROM table_28900 WHERE "Incumbent" = 'John B. Yates'
SELECT COUNT("Party") FROM "table_28900" WHERE "Incumbent" = 'John B. Yates'