結果 : how to get count of duplicate elements in arraylist in java