WIP: add calculation of the meter by category.
WIP: Sum categories.