ORA-32639: Aggregate functions on reference MODELs are not allowed
Cause: An aggregate function was specified on the cells of a reference MODEL
Action: Check the SQL statement and rewrite if necessary
https://support.oracle.com/
http://www.oracle.com/