Find total number from frequency table