adding support for dictinctCount on groupBys