get the number of rows in table using sqlalchemy,rows = session.query(Congress).count()