結果 : java count occurrences of int in array