Store number of keys before reap