What is the year that there were 0 wins, team AJS, and under 12 points?
CREATE TABLE "motorcycle_grand_prix_results" (
  "year" real,
  "class" text,
  "team" text,
  "points" real,
  "wins" real
);
SELECT COUNT("year") FROM "motorcycle_grand_prix_results" WHERE "wins"=0 AND "team"='ajs' AND "points"<12;