Context: CREATE TABLE table_1507852_1 (category VARCHAR, attribute VARCHAR)
Question: How many categories are there when the attribute is "onreset"?
Answer: SELECT COUNT(category) FROM table_1507852_1 WHERE attribute = "onreset"