As title says , need a code that counts the same digit in a number..
For example:
If I put 54678, it shows me how many number 5 is used in that integer.
You can enter the number as a string and then parse the string.