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_22 (apps INTEGER, season VARCHAR, goals VARCHAR)
### Question:
What is the most apps that a has a total season and 3 goals?
### Answer:
SELECT MAX(apps) FROM table_name_22 WHERE season = "total" AND goals > 3