public int getNumComponents() {
		return (viewComposite != null) ? viewComposite.getNumComponents() : 0;
	}
Returns the number of components in this structure or union.
@return the number of components in the model
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/CompositeViewerModel.java