simple_ml
pub fn value_counts<T: Ord>(list: &Vec<T>) -> BTreeMap<T, u32> where T: PartialEq + Eq + Hash + Copy,