fixes #769

In case it isn't clear, ``shift_set`` is a Django thing, and just directly saying ``shifts`` is the SQLAlchemy way, so we can just use the built-in ``|length`` Django filter for this.