How do I model a many-to-many relationship over 3 tables in SQLAlchemy (ORM)?,session.query(Shots).filter_by(event_id=event_id).count()