count and unique count for group by