Python Count Unique Values In Dataframe Pandas Sort Values By Index