Table schema:
CREATE TABLE table_name_87 (wins VARCHAR, losses VARCHAR, rank VARCHAR, run_ratio VARCHAR)

Question: 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?
SQL: SELECT COUNT(wins) FROM table_name_87 WHERE rank > 1 AND run_ratio < 5.85 AND losses > 4