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_3 (lost VARCHAR, tied VARCHAR, goals_for VARCHAR)
  ### Question:
  What is the total number of losses for teams with less than 5 ties and more than 330 goals for?
  ### Answer:
  SELECT COUNT(lost) FROM table_name_3 WHERE tied < 5 AND goals_for > 330