結果 : number of distinct elements in an array python