結果 : finding frequency of elements in array in python