How many total wins did the team ranked lower than 1 with a run ratio less than 5.85 and more than 4 losses have?
CREATE TABLE "pool_a" (
  "rank" real,
  "team" text,
  "wins" real,
  "losses" real,
  "runs_allowed" real,
  "run_ratio" real
);
SELECT COUNT("wins") FROM "pool_a" WHERE "rank">1 AND "run_ratio"<5.85 AND "losses">4;