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_67 (played VARCHAR, goals_for VARCHAR, points VARCHAR, position VARCHAR)
  ### Question:
  Name the total number of played when points of is 31-7, position is 16 and goals for is less than 35
  ### Answer:
  SELECT COUNT(played) FROM table_name_67 WHERE points = "31-7" AND position = 16 AND goals_for < 35