SCHEMA:
CREATE TABLE table_name_51 (apps INTEGER, rank VARCHAR, goals VARCHAR)
User Question:
What are the apps for less than 61 goals and before rank 6?


SELECT SUM(apps) FROM table_name_51 WHERE rank < 6 AND goals < 61