Python Pandas Dataframe Number Of Rows In Sql