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
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many laps were there when the grid was 24? ### Input: CREATE TABLE table_name_25 (
    laps VARCHAR,
    grid VARCHAR
) ### Response: SELECT COUNT(laps) FROM table_name_25 WHERE grid = 24