private void calculateMinimumTableSize(Program program) {
		minimumTableSize =
			AddressTable.getThresholdRunOfValidPointers(program, AddressTable.BILLION_CASES);

		if (minimumTableSize < 2) {
			minimumTableSize = 2;
		}
	}
getWStrLen
@param ad = address where unicode string is supposed to begin
@return number of unicode chars in string, -1 if not
a unicode string.  NOTE: Only English strings are considered.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/disassembler/AddressTableAnalyzer.java