結果 : python count occurrences of element in array