CREATE TABLE table_256286_45 (type VARCHAR2, yes_votes VARCHAR2)

How many types are there for the measure where there were 312680 yes votes?
SELECT COUNT(type) FROM table_256286_45 WHERE yes_votes = 312680
SELECT COUNT("type") FROM "table_256286_45" WHERE "yes_votes" = 312680