counting keys at stress test