Ncontributors function

Find the number of unique groups contributing to aggregates