SCHEMA:
CREATE TABLE table_name_9 (laps VARCHAR, points VARCHAR, grid VARCHAR)
USER:
What is the total number of laps associated with 8 points and a grid under 8?

QUERY:
SELECT COUNT(laps) FROM table_name_9 WHERE points = "8" AND grid < 8