function updatePathModel(pathModel, valueInd, count) {
    pathModel.valueInds.push(valueInd);
    pathModel.count += count;
}
Update a PathModel object with a new value index
Note: The calling parameter is modified in place.

@param {PathModel} pathModel
@param {Number} valueInd
@param {Number} count