Count The Number Of Occurrences Of A Digit In A Given Number