CREATE TABLE table_name_52 (laps INTEGER, rider VARCHAR(255))
How many laps did pere riba ride?
    
SQL: SELECT SUM(laps) FROM table_name_52 WHERE rider = "pere riba"