結果 : find the frequency of each element in array in python