Make HashCounter count longs. Remove obsolete counters.