Python Count Duplicate Rows In Dataframe To Csv