結果 : count instances in dataframe python