public int parseVarSizedCount(int size) throws PdbException {
		switch (size) {
			case 16:
				return parseUnsignedShortVal();
			case 32:
				return parseInt();
		}
		throw new PdbException("Bad count size");
	}
Parses and returns in an int, which that is intended to be used as a <B>count</B>, using the
specified-size integer type value  (16 or 32).  When 16, and <B>unsigned</B> short is
parsed; when 32, a <B>signed</B> int is parsed.
@param size the size in bits of the integer.
@return the value parsed.
@throws PdbException upon unhandled size specified in arguments.
Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/PdbByteReader.java