Python Count Duplicate Rows In Dataframe Sort