function getTotalRowCount(oTable, bIgnoreCache) {
		const oBinding = oTable.getBinding();
		const oBindingInfo = oTable.getBindingInfo("rows");

		if (!oBinding) {
			return 0;
		}

		if (oBindingInfo.length != null) {
			return oBindingInfo.length;
		}

		if (bIgnoreCache === true) {
			return oBinding.getLength();
		}

		if (!oTable._bContextsAvailable) {
			return _private(oTable).iCachedBindingLength;
		}

		_private(oTable).iCachedBindingLength = oBinding.getLength();

		return _private(oTable).iCachedBindingLength;
	}
Returns the number of rows the <code>rows</code> aggregation is bound to.

@param {sap.ui.table.Table} oTable Instance of the table.
@param {boolean} [bIgnoreCache=false] Whether to ignore the cached binding length.
@returns {int} The total number of rows. Returns 0 if the <code>rows</code> aggregation is not bound.
@private