human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Rider, Bike, Laps, Time, Grid
###Question: When the grid number is 10, what is the total number of laps?
gpt
SELECT COUNT Laps FROM table WHERE Grid = 10