結果 : how to count duplicates in python dataframe