finding the total live object count in the heap