user: ### NOW ANSWER:
Question: How many laps did Pere Riba ride?
Columns: ['Rider', 'Manufacturer', 'Laps', 'Time/Retired', 'Grid']
Types: ['text', 'text', 'real', 'text', 'real']
Sample row: ['Tohru Ukawa', 'Honda', 28.0, '44:39.467', 3.0]
SQL:

assistant: SELECT SUM("Laps") FROM "Table" WHERE "Rider" = 'Pere Riba';