What is the total number of laps done by Massimo Roccoli when his grid was smaller than 4?
CREATE TABLE table_name_45 (laps VARCHAR, rider VARCHAR, grid VARCHAR)
SELECT COUNT(laps) FROM table_name_45 WHERE rider = "massimo roccoli" AND grid < 4
<s>[INST] Write mssql query to answer the following question given the database schema. 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? [/INST] SELECT COUNT(laps) FROM table_name_45 WHERE rider = "massimo roccoli" AND grid < 4 </s>