I have got a list of strings, they are filenames from a folder. Some filename contains same string of number with the others, and i am trying to count for each number in each file, how many files contain that same number.
Here’s a example of the filename:
In the list here, 47447 appeared twice, I would want an output of “2”
I currently have a For Each activity to go through each of the filename, they are stored in a variable and I have also extracted the number string from each filename with Regex, but i am having trouble to count the occurrence of each number string. I tried FilenameList.contains(NumberString), it only returns the True/False value, but i want a Int32 value with the number of occurrences.