結果 : how to get frequency distribution in python