Sqlalchemy Add Function In Arraylist Length