Schema: CREATE TABLE table_name_45 (laps VARCHAR, rider VARCHAR, grid VARCHAR)
Question: What is the total number of laps done by Massimo Roccoli when his grid was smaller than 4?
SQL: SELECT COUNT(laps) FROM table_name_45 WHERE rider = "massimo roccoli" AND grid < 4