結果 : count distinct values in array python