結果 : finding the frequency of element frequency of elements in an array using python