feat(categories): calculate meter by categories
Merge master into 220.