I don't see the benefit of using a per-class hash of counts.