PriorityQueue
PHP Manual

Ds\PriorityQueue::count

(PECL ds >= 1.0.0)

Ds\PriorityQueue::countReturns the number of values in the queue.

See Countable::count()


PriorityQueue
PHP Manual