I am having troubles in find out frequency of the highest repeated digit within a number. I want output as following:
Number         Output
1111125436     5
9999266613     4
2346275210     3
1234567890     1
And so on.
I have tried freqency, Biostringsbut couldn't do it. Appreciate your help.