# system.kanoa.event.getCountTotal(counterId, startDate, endDate)

Returns the total counts for the given counterId and data range. DEPRECATED

---

### Parameters

**counterId** `Integer`: Id of counter<br />

**startDate** `DateTime`: Start date of counter event<br />

**endDate** `DateTime`: End date of counter event<br />

---

### Returns

**countTotal** `Float`<br />

---

### Example

```python
counterId = 1
startDate = system.date.now()
endDate = system.date.now()
countTotal = system.kanoa.event.getCountTotal(counterId, startDate, endDate)
```
