src/Queue/InMemoryQueue.php
function size($queue = null)
    {
        $queue = $this->_normalizeQueueName($queue);

        return (isset($this->queues[$queue])) ? count($this->queues[$queue]) : 0;
    }
function size($queue = null)
    {
        $queue = $this->_normalizeQueueName($queue);

        return (isset($this->queues[$queue])) ? count($this->queues[$queue]) : 0;
    }
Get Queue Size

@param string $queue

@return int
@throws exIOError