CREATE TABLE table_name_86 (laps VARCHAR2, grid VARCHAR2, rider VARCHAR2)

How many laps did ben spies do on the grid less than 7?
SELECT COUNT(laps) FROM table_name_86 WHERE grid < 7 AND rider = "ben spies"
SELECT COUNT("laps") FROM "table_name_86" WHERE "ben spies" = "rider" AND "grid" < 7