What year did team Yamaha have 0 wins, a rank of 8th, and more than 22 points?
CREATE TABLE "grand_prix_motorcycle_racing_results" (
  "year" real,
  "class" text,
  "team" text,
  "points" real,
  "rank" text,
  "wins" real
);
SELECT COUNT("year") FROM "grand_prix_motorcycle_racing_results" WHERE "team"='yamaha' AND "wins"=0 AND "rank"='8th' AND "points">22;