Check if Number Has Equal Digit Count and Digit Value
For each position i, count how often the digit i appears and compare it with the digit stored at position i.
For each position i, count how often the digit i appears and compare it with the digit stored at position i.