Pregunta de entrevista de Medikabazaar

1. given a a integer array, count occurrences of all items in list having count >1.