How many times was the motorcycle ducati 916 2nd place when wins is less than 7?
CREATE TABLE "by_season" (
  "season" real,
  "champion" text,
  "motorcycle" text,
  "wins" real,
  "2nd_pl" real,
  "3rd_pl" real,
  "team" text
);
SELECT SUM("2nd_pl") FROM "by_season" WHERE "motorcycle"='ducati 916' AND "wins"<7;