Pergunta de entrevista da empresa Medikabazaar

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