HPCC-11938 Fix incorrect Number of Queries from WUListQueries

Existing WsWorkunits.WUListQueries returns incorrect Number of Queries.
The bug is fixed now.

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>