The total PDF structure objects count for the input PDF. The method returns a 0 (zero) if the input PDF is invalid.
Depending on your implementation, the total count is used to supplement the object parsing cycle started from the GetRootObject call, Object (current object ID) of (total count) for example, or to pass the ObjectIDNumber for the GetObject call, For ObjectIDNumber = 1 to (total count).