how many laps were there when the grid was 24?
CREATE TABLE table_name_25 (laps VARCHAR, grid VARCHAR)
SELECT COUNT(laps) FROM table_name_25 WHERE grid = 24
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (laps VARCHAR, grid VARCHAR) Question: how many laps were there when the grid was 24? [/INST] SELECT COUNT(laps) FROM table_name_25 WHERE grid = 24 </s>