static adjustCodewordCount(detectionResult, barcodeMatrix) {
			let barcodeMatrix01 = barcodeMatrix[0][1];
			let numberOfCodewords = barcodeMatrix01.getValue();
			let calculatedNumberOfCodewords = detectionResult.getBarcodeColumnCount() *
				detectionResult.getBarcodeRowCount() -
				PDF417ScanningDecoder.getNumberOfECCodeWords(detectionResult.getBarcodeECLevel());
			if (numberOfCodewords.length === 0) {
				if (calculatedNumberOfCodewords < 1 || calculatedNumberOfCodewords > PDF417Common.MAX_CODEWORDS_IN_BARCODE) {
					throw NotFoundException.getNotFoundInstance();
				}
				barcodeMatrix01.setValue(calculatedNumberOfCodewords);
			}
			else if (numberOfCodewords[0] !== calculatedNumberOfCodewords) {
				// The calculated one is more reliable as it is derived from the row indicator columns
				barcodeMatrix01.setValue(calculatedNumberOfCodewords);
			}
		}
@param detectionResult
@param BarcodeValue
@param param2
@param param3
@param barcodeMatrix

@throws NotFoundException