renamed QueuedItems to QueueLenth