Itlize Global interview question

Count Duplicate elements in a list