public int size() {
		return cmds.size();
	}
Return the number of commands that are part of this compound command.

@return the number of commands that have been added to this one.
Ghidra/Framework/Project/src/main/java/ghidra/framework/cmd/CompoundCmd.java