# PimCollectionTaskCounts

Members that are tasks, split by the two progress buckets. Exact complements; events and contacts are in neither, so the pair need not sum to objectCount.

Members that are tasks, split by the two `progress` buckets. Exact complements; events and contacts are in neither, so the pair need not sum to `objectCount`.

```ts
type PimCollectionTaskCounts = {
  active: number
  closed: number
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `active` | `number` | Tasks not completed or cancelled — what `?progress=active` lists |
| `closed` | `number` | Tasks completed or cancelled — what `?progress=closed` lists |

## Used in

[`PimCollection`](/docs/sdks/typescript/types/pim-collection).
