結果 : count repeated values in array java