user: Question: When Restoring Capital Punishment is the description how many types are there?
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', 100256.0, 35655.0, '73.77%', 'Yes', 'LEG', 'Extending Eminent Domain Over Roads and Ways']
SQL:

assistant: SELECT COUNT("type") FROM "Table" WHERE "description" = 'Restoring Capital Punishment';