sqlalchemy update returning count