Compute unique article categories and the count of each unique category.

Uses mongodb aggregation framework to compute categories each time an update occurs.