結果 : count repeated values in array javascript