結果 : find number of distinct elements in array python