Oracle Solution for Error ora-01415

Solution for Oracle Error ORA-01415

ORA-01415: too many distinct aggregate functions

What triggered the Error:

The query contains more distinct aggregates than can be processed. The current limit is 255.

What should we do to fix it:

Reduce the number of distinct aggregate functions in the query.