Add a size() method to Heap.