Returns the number of elements in the heap.

Returns the number of elements in the heap.This function has a time complexity of O(1).

**Parameters:****heap**- The heap to use**Returns:**- int rc: The number of elements in the heap.

This page was generated with the help of DOC++.