text: 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_6 (games_played VARCHAR, wins VARCHAR, position VARCHAR)
  ### Question:
  What is the total number of games played of the team with 4 wins and a position less than 9?
  ### Answer:
  SELECT COUNT(games_played) FROM table_name_6 WHERE wins = 4 AND position < 9