Table schema:
CREATE TABLE table_name_39 (laps VARCHAR, grid VARCHAR)

Question: When the grid number is 10, what is the total number of laps?
SQL: SELECT COUNT(laps) FROM table_name_39 WHERE grid = 10