The aggregate component encountered too many distinct values while calculating the count distinct aggregate. It cannot accommodate ...

The aggregate component encountered too many distinct values while calculating the count distinct aggregate. It cannot accommodate more than %1!u! distinct values. There were more than ULONG_MAX distinct values while calculating the count distinct aggregation.