How many times was there a class A winner when Gregory-Portland was the class AAAA?
CREATE TABLE "team" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
SELECT COUNT("class_a") FROM "team" WHERE "class_aaaa"='Gregory-Portland';