More careful stats

Addressing [this issue](https://github.com/smtech/smcanvas-grading-analytics/issues/7), but generally trying to make sure that all of the counters are being kept carefully.