Pergunta de entrevista da empresa Gainsight

Program to count each repeating number in the given data. Double x= 12345123.121212