user: ### NOW ANSWER:
Question: What is the total grid number when fonsi nieto had more than 22 laps?
Columns: ['Rider', 'Bike', 'Laps', 'Time', 'Grid']
Types: ['text', 'text', 'real', 'text', 'real']
Sample row: ['James Toseland', 'Honda CBR1000RR', 22.0, "+1'32.651", 2.0]
SQL:

assistant: SELECT COUNT("Grid") FROM "Table" WHERE "Rider" = 'fonsi nieto' AND "Laps" > 22.0;