Pandas Count Unique Rows In R