CREATE TABLE table_5152 ("Rank" FLOAT, "Player" CLOB, "Country" CLOB, "Earnings  (  $  ) " FLOAT, "Events" FLOAT, "Wins" FLOAT)

What is the total number of wins for golfers whose earnings are 313,845 dollars and rank is larger than 4?
SELECT COUNT("Wins") FROM table_5152 WHERE "Earnings ( $ )" = '313,845' AND "Rank" > '4'
SELECT COUNT("Wins") FROM "table_5152" WHERE "Earnings ( $ )" = '313,845' AND "Rank" > '4'