Accumulate

Used to accumulate values by category.