Pregunta de entrevista de 10Decoders Consultancy Services

Find duplicate from array and count how many times?