Python Count Duplicate Rows In Dataframe To Sql