Added getReportsPerCategory and refactored backend a little
Merge branch 'feature-category-count' into develop