text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### 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"