user: ### NOW ANSWER:
Question: What is the total laps when manufacturer of gilera has time of 40:19.910 and grid is larger than 3?
Columns: ['Rider', 'Manufacturer', 'Laps', 'Time', 'Grid']
Types: ['text', 'text', 'real', 'text', 'real']
Sample row: ['Marco Simoncelli', 'Gilera', 21.0, '40:19.910', 3.0]
SQL:

assistant: SELECT SUM("Laps") FROM "Table" WHERE "Manufacturer" = 'gilera' AND "Time" = '40:19.910' AND "Grid" > 3.0;