Fashion

count subquery in sqlalchemy

I’m having some trouble translating a subquery into sqlalchemy. I have two tables that both have a store_id column that is a foreign key (but