Mode from frequency table