Write Program To Count Duplicates Python Interview