queryWorkItems@0 - Query work items v0 task

Execute a work item query and check the number of items returned.