Added array aggregate functions: ARRAY_AVG, ARRAY_COUNT, and ARRAY_SUM.