結果 : java count number of occurrences in array