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

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