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

Deletes count events within a specified date 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

Records Modified (Integer)<br />

---

### Example

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