does this mean keys will have repeated entries and `len(values) = len(keys)` will be equal to the number of messages the cache has seen?