count the number of keys in a bucket.