Oracle Error Message
PLS-00652: aggregate functions should have exactly one argument
Reason for the Error
User tried to create aggregate function with either 0 or more than one arguments.
Solution
Do not create aggregate function with 0 or more than one argument.