list count of duplicates and specify where they come from