That is the very difficult way of doing this. There is much simpler way.
a. In SketchUp, a group is a special type of component instance, so both have a component definition.
b. To access functions of the SUComponentInstance class, cast the group to a componentinstance.
c. Then call the SUComponentInstanceComputeVolume() function
NO. Groups are an instance (a special subclass of component instance just as Image is.) Instances do not have entities collections, their definitions own the collection.