public int getNumOperands() {
		if (prototype == null) {
			throw new IllegalStateException("Pattern is not complete");
		}
		return prototype.getNumOperands();
	}
Get the number of operands for the resulting prototype
@return operand count
@throws IllegalStateException if prototype parse failed
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/SleighDebugLogger.java