結果 : number of duplicate elements in array python