Queue
PHP Manual

Ds\Queue::count

(PECL ds >= 1.0.0)

Ds\Queue::countReturns the number of values in the queue

See Countable::count()


Queue
PHP Manual