For the team with 39+1 points and fewer than 7 draws, how many wins were scored?
CREATE TABLE "final_table" (
  "position" real,
  "club" text,
  "played" real,
  "points" text,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
SELECT COUNT("wins") FROM "final_table" WHERE "points"='39+1' AND "draws"<7;