user: ### NOW ANSWER:
Question: How many times was there a class A winner when Gregory-Portland was the class AAAA?
Columns: ['School Year', 'Class A', 'Class AA', 'Class AAA', 'Class AAAA', 'Class AAAAA']
Types: ['text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['1988-89', 'Plains', 'Shallowater', 'Bishop', 'Port Neches-Groves', 'McAllen']
SQL:

assistant: SELECT COUNT("Class A") FROM "Table" WHERE "Class AAAA" = 'Gregory-Portland';