counting number of keys for size