結果 : how to count duplicates in array javascript