fix classification rate

the old classification rate is clearly wrong, though why the total
calculation is wrong is beyond me right now. Fix this to be sane.

Can't wait to retire all this code for something that's not a
bunch of iteration loops.

Change-Id: Ibafc1fa396ae21115931b051ba3f27cb44dffea3