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_25 (laps VARCHAR, grid VARCHAR)
  ### Question:
  how many laps were there when the grid was 24?
  ### Answer:
  SELECT COUNT(laps) FROM table_name_25 WHERE grid = 24