(PECL ds >= 1.0.0)
Ds\Queue::count — Returns the number of values in the queue.
See Countable::count()