CREATE TABLE table_name_1 (earnings___ VARCHAR, wins VARCHAR, rank VARCHAR)

What's the total earnings ($) with more than two wins and a rank less than 2?
SELECT COUNT(earnings___) AS $__ FROM table_name_1 WHERE wins > 2 AND rank < 2
SELECT COUNT("earnings___") AS $__ FROM "table_name_1" WHERE "rank" < 2 AND "wins" > 2