Group by having count 1. Count duplicates in array of objects duplicate.