pub fn unique_counting(text: &str) -> Vec<i32>