Apply an aggregate to groups
(aggr;d) fby g
Where
aggr is an aggregate functiond and g are conforming vectorscollects the items of d into sublists according to the corresponding items of g, applies
aggr to each sublist, and returns the results as a vector with the same count as d.