What is the total number of losses for teams with less than 5 ties and more than 330 goals for?
CREATE TABLE "season_by_season_results" (
  "season" text,
  "league" text,
  "games" real,
  "lost" real,
  "tied" real,
  "points" real,
  "winning_pct" real,
  "goals_for" real,
  "goals_against" real,
  "standing" text
);
SELECT COUNT("lost") FROM "season_by_season_results" WHERE "tied"<5 AND "goals_for">330;