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_46 (year VARCHAR, formula VARCHAR)
  ### Question:
  How many years had a formula of Grand Prix?
  ### Answer:
  SELECT COUNT(year) FROM table_name_46 WHERE formula = "grand prix"