# system.kanoa.event.updateWorkOrderCount(counterId, assetId, value, workOrderName, userId)

Allows the count to be updated for a work order after a work order has been completed.
In this instance, the value being passed is a delta value that needs to be added or decremented from the total count

---
### Parameters
**counterId** `Integer`: Id of counter<br />
**assetId** `Integer`: Id of asset<br />
**value** `Float`: Work order quantity<br />
**workOrderName** `String`: Name of work order<br />
**userId** `Integer`: Id of user executing the function<br />

---
### Returns
**# of records modified** `Integer`<br />

---
### Example
```python
counterId = 123
assetId = 456
value = 5.0
workOrderName = 'WorkOrder123'
userId = 999
retVal = system.kanoa.event.updateWorkOrderCount(counterId, assetId, value, workOrderName, userId)
```
