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