結果 : get count of same values in array javascript