結果 : how to find frequency of each element in array in python