CREATE TABLE table_name_25 (laps VARCHAR, grid VARCHAR)

how many laps were there when the grid was 24?
SELECT COUNT(laps) FROM table_name_25 WHERE grid = 24
SELECT COUNT("laps") FROM "table_name_25" WHERE "grid" = 24