結果 : occurrence of number in array java