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_52 (losses VARCHAR, goals_for VARCHAR, games_played VARCHAR)
### Question:
How many losses did the team with 22 goals for andmore than 8 games played have?
### Answer:
SELECT COUNT(losses) FROM table_name_52 WHERE goals_for = 22 AND games_played > 8