"Germany"; "USA"; "Morocco"; … $count:=$collection.distinct() //"Japan", "France", "Germany", "USA", "Morocco" $answer:="" For each ($name; $count) $occurence:=$collection.countValues($name) $answer:=$answer+$name+":"+String($occurence)+Char(Carriage return) End for each 😩 👍