Add size() and __len__ methods to the Query class.  Use those instead of reaching into the query object locals.
Add size() and __len__ methods to the Query class.  Use those instead of reaching into the query object locals.

vivisect/synapse,vertexproject/synapse,vertexproject/synapse,vertexproject/synapse