What is the sum number of grid where time/retired is 2:41:38.4 and laps were more than 40?
CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
SELECT COUNT("grid") FROM "classification" WHERE "time_retired"='2:41:38.4' AND "laps">40;