結果 : how to count frequency of elements in array python