protected long checkCount(long count) throws IOException {
		if (count > Integer.MAX_VALUE) {
			throw new IOException("Count value 0x%x in %s is greater than Integer.MAX_VALUE"
					.formatted(count, getClass().getSimpleName()));
		}
		return count;
	}
Checks to make sure the given count value isn't larger than {@link Integer#MAX_VALUE}.
<p>
Count values are typically {@code uint32_t}, so we store them as {@code long}s. But, we
usually end up storing the items in an array or {@link ArrayList}, which can't exceed the
size of an {@code int}.

@param count The count value to check
@return The original count value
@throws IOException if the given count value exceeds {@link Integer#MAX_VALUE}
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/macho/commands/LoadCommand.java