CREATE TABLE table_name_53 (laps INT, time_retired VARCHAR)

How many laps were there when time/retired was gearbox?
SELECT SUM(laps) FROM table_name_53 WHERE time_retired = "gearbox"
SELECT SUM("laps") FROM "table_name_53" WHERE "gearbox" = "time_retired"