public static void requireCount(int count, List<?> list) {
		if (count != list.size()) {
			throw new MismatchException();
		}
	}
Require (as part of pattern matching) that the given list of children has a particular size

@param count the required size
@param list the list of children
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/exec/SleighUtils.java