I am a new learner. can you help to just find out the frequency of numbers. given input will be in the range of 0 to 9.

Thanking you in advance

Amit