pub fn sort_statistics_by_count( stats: HashMap<String, usize>, ) -> Vec<(String, usize)>
Pure function to sort statistics by count