feat(countBy): create  + unit