結果 : java count distinct values in array