Python Pandas Count Number Of Rows In R