結果 : get duplicate values count from array javascript