Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### Context:
CREATE TABLE table_name_51 (apps INTEGER, rank VARCHAR, goals VARCHAR)
### Question:
What are the apps for less than 61 goals and before rank 6?
### Answer:
SELECT SUM(apps) FROM table_name_51 WHERE rank < 6 AND goals < 61