Oracle Message QSM-02132 - agg(expr) requires correspondng COUNT(expr) function

ERRORagg(expr) requires correspondng COUNT(expr) function
CAUSEThe capability in question is not supported when the materialized view uses certain aggregate functions but omits an invocation of the COUNT function on the same argument.
ACTIONAdd the COUNT function to the select list.