CREATE TABLE table_name_99 (laps VARCHAR, rank VARCHAR)

What is the sum of all laps with rank 3?
SELECT COUNT(laps) FROM table_name_99 WHERE rank = "3"
SELECT COUNT("laps") FROM "table_name_99" WHERE "3" = "rank"