groupBy and countBy return Map