Python Count Duplicate Rows In Dataframe Sort In Python