CREATE TABLE table_17319931_1 (driver VARCHAR, time_retired VARCHAR, points VARCHAR)

How many drivers where there when the time/retired +3 laps and points were 24?
SELECT COUNT(driver) FROM table_17319931_1 WHERE time_retired = "+3 laps" AND points = "24"
SELECT COUNT("driver") FROM "table_17319931_1" WHERE "+3 laps" = "time_retired" AND "24" = "points"