Oracle Database Error Code ORA-36764 Description :
(XSAGGCNTMOVE02) AGGCOUNT variable workspace object must be of type INTEGER, not string.
Error Cause:
An attempt was made to create a non-INTEGER AGGCOUNT.

How to Solve :
Select an INTEGER AGGCOUNT variable.