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_39 (laps VARCHAR, grid VARCHAR)
  ### Question:
  When the grid number is 10, what is the total number of laps?
  ### Answer:
  SELECT COUNT(laps) FROM table_name_39 WHERE grid = 10