# Count activities

`POST https://backend.estactics.com/api/activities/searchCount`

Returns how many activities match the filters. Use it together with Search to build pagination.

Authentication: `Authorization: Bearer YOUR_API_KEY`. Required permission: `activities.VIEW`.

## Body parameters

- `filters` (array of object): Conditions to match. Items in the array are combined with OR, and fields inside one item with AND. See the Filtering guide.

## Example request body

```json
{
  "filters": [
    {
      "clientId": {
        "mode": "EQ",
        "value": [
          1042
        ]
      }
    }
  ]
}
```

## Example response

```json
{
  "success": true,
  "data": 42
}
```
