1. Counting Product Categories
E-commerce AnalystBackground
An analyst has a list of products and needs to know how many items are in each category.
Problem
Manually counting hundreds of items is prone to error.
How to use
Input the product array and set the iteratee to 'category'.
Collection: [{"id":1,"category":"electronics"},{"id":2,"category":"books"},{"id":3,"category":"electronics"}], Iteratee Type: Property/Path, Iteratee: categoryOutcome
{"electronics": 2, "books": 1}