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_9 (laps VARCHAR, points VARCHAR, grid VARCHAR)
  ### Question:
  What is the total number of laps associated with 8 points and a grid under 8?
  ### Answer:
  SELECT COUNT(laps) FROM table_name_9 WHERE points = "8" AND grid < 8