What is the total number of ties a team with less than 3 losses have?
CREATE TABLE "final_standing" (
  "team" text,
  "games_played" real,
  "wins" real,
  "losses" real,
  "ties" real,
  "goals_for" real,
  "goals_against" real
);
SELECT COUNT("ties") FROM "final_standing" WHERE "losses"<3;