Which group and count elements of the collection.
npm install -S @jswork/next-tallyimport '@jswork/next-tally';
nx.tally([null, undefined, false, true, true, null, true, 1]);
// { '1': 1, null: 2, undefined: 1, false: 1, true: 3 }Code released under the MIT license.