CREATE TABLE table_54239 ("Driver" TEXT, "Constructor" TEXT, "Laps" FLOAT, "Time/Retired" TEXT, "Grid" FLOAT)

how many laps were there when the grid was 24?
SELECT COUNT("Laps") FROM table_54239 WHERE "Grid" = '24'
SELECT COUNT("Laps") FROM "table_54239" WHERE "Grid" = '24'