Adding problem to extract time from a dictionary and return the mean.