At Balmoor Stadium, what's the total average having a greater than 400 lowest?
CREATE TABLE "attendances" (
  "team" text,
  "stadium" text,
  "capacity" real,
  "highest" real,
  "lowest" real,
  "average" real
);
SELECT COUNT("average") FROM "attendances" WHERE "stadium"='balmoor' AND "lowest">400;