Store total reps for category

Fixes #282