Table schema:
CREATE TABLE table_1507852_1 (category VARCHAR, attribute VARCHAR)

Question: How many categories are there when the attribute is "onreset"?
SQL: SELECT COUNT(category) FROM table_1507852_1 WHERE attribute = "onreset"