CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);

Question: What's the lap number for time/retired of +33.912?
SQL: SELECT COUNT("laps") FROM "moto_gp_classification" WHERE "time_retired"='+33.912';

Question: Total laps for Shinya Nakano at smaller than 10 grids.
SQL: SELECT COUNT("laps") FROM "moto_gp_classification" WHERE "rider"='shinya nakano' AND "grid"<10;