`BaseObject3D#getNumChildren() does this for one layer. This should be moved to `BaseObject3D` and either the existing method name needs to be changed or this one does so they match.