add count of groups