change type HitKey to Key, also change counts to Counts