Returns the number of elements in the concurrent priority queue. This method is concurrency-safe.
The number of elements in this concurrent_priority_queue object.
The returned size is guaranteed to include all elements added by calls to the function push. However, it may not reflect results of pending concurrent operations.