How many categories are there when the attribute is "onreset"?
create table table_1507852_1 (category varchar, attribute varchar, PRIMARY KEY (category))
select count(category) from table_1507852_1 where attribute = "onreset"