I would think since the query itself is doing a count(id) that it would always return a value, but I added a ``len()`` check just for safety.