Python Count Duplicate Rows In Dataframe Sort By