user: Question: What is the total number of laps done by massimo roccoli when his grid was smaller than 4?
Columns: ['Rider', 'Bike', 'Laps', 'Time', 'Grid']
Types: ['text', 'text', 'real', 'text', 'real']
Sample row: ['Fabien Foret', 'Yamaha YZF-R6', 16.0, '29:38.261', 3.0]
SQL:

assistant: SELECT SUM("Laps") FROM "Table" WHERE "Rider" = 'massimo roccoli' AND "Grid" < 4.0;