(PHP 5 >= 5.3.0)
SplPriorityQueue::count — Counts the number of elements in the queue.
У этой функции нет параметров.
Returns the number of elements in the queue.