@stdlib/utils-count-by

Group values according to an indicator function and return group counts.

Browse on unpkg