user: Question: How many types are there for the measure where there were 312680 yes votes?
Columns: ['meas. num.', 'passed', 'YES votes', 'NO votes', '% YES', 'Const. Amd.?', 'type', 'description']
Types: ['real', 'text', 'real', 'real', 'text', 'text', 'text', 'text']
Sample row: [1.0, 'YES', 312680.0, 234440.0, '57.15%', 'Yes', 'LEG', 'Reorganize State Militia']
SQL:

assistant: SELECT COUNT("type") FROM "Table" WHERE "YES votes" = 312680.0;