Storing a frequency distribution in Redis