function setCount(mChangeListeners, sPath, aCollection, vCount) {
		// Note: @odata.count is of type Edm.Int64, represented as a string in OData responses;
		// $count should be a number and the loss of precision is acceptable
		if (typeof vCount === "string") {
			vCount = parseInt(vCount);
		}
		// Note: this relies on $count being present as an own property of aCollection
		_Helper.updateExisting(mChangeListeners, sPath, aCollection, {$count : vCount});
	}
function setCount(mChangeListeners, sPath, aCollection, vCount) {
		// Note: @odata.count is of type Edm.Int64, represented as a string in OData responses;
		// $count should be a number and the loss of precision is acceptable
		if (typeof vCount === "string") {
			vCount = parseInt(vCount);
		}
		// Note: this relies on $count being present as an own property of aCollection
		_Helper.updateExisting(mChangeListeners, sPath, aCollection, {$count : vCount});
	}
function setCount ( mChangeListeners , sPath , aCollection , vCount ) { // Note: @odata.count is of type Edm.Int64, represented as a string in OData responses; // $count should be a number and the loss of precision is acceptable if ( typeof vCount === "string" ) { vCount = parseInt ( vCount ) ; } // Note: this relies on $count being present as an own property of aCollection _Helper . updateExisting ( mChangeListeners , sPath , aCollection , { $count : vCount } ) ; }
Sets the collection's $count: a number representing the sum of the element count on
server-side and the number of transient elements created on the client. It may be
<code>undefined</code>, but not <code>Infinity</code>.

@param {object} mChangeListeners A map of change listeners by path
@param {string} sPath The path of the collection in the cache (as used by change listeners)
@param {array} aCollection The collection
@param {string|number} vCount The count
Sets the collection s $count : a number representing the sum of the element count on server - side and the number of transient elements created on the client . It may be <code > undefined< / code > but not <code > Infinity< / code > .
Sets the count of the items in the given collection.