count number of rows in a many-to-many relationship (sqlalchemy),session.query(Entry).join(Entry.tags).filter(Tag.id == 1).count()