How many grids have less than 41 laps and a Driver of pedro de la rosa?
CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
SELECT COUNT("grid") FROM "race" WHERE "laps"<41 AND "driver"='pedro de la rosa';