Typescript Count Unique Values Pandas Dataframe Drop