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_name_42 (year VARCHAR, driver VARCHAR)
  ### Question:
  When did Hans Hartmann drive?
  ### Answer:
  SELECT COUNT(year) FROM table_name_42 WHERE driver = "hans hartmann"