When the grid number is 10, what is the total number of laps?
CREATE TABLE table_name_39 (laps VARCHAR, grid VARCHAR)
SELECT COUNT(laps) FROM table_name_39 WHERE grid = 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (laps VARCHAR, grid VARCHAR) Question: When the grid number is 10, what is the total number of laps? [/INST] SELECT COUNT(laps) FROM table_name_39 WHERE grid = 10 </s>