# utils/count

module

<a id="functions">

## Functions

<a id="function-count">

### `count( iterable ) → number`

Returns the number of items return by the iterator.

```typescript
count( [ 1, 2, 3, 4, 5 ] ); // 5;
```

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-utils/src/count.ts#L20)

#### Parameters

* `iterable: Iterable<unknown>`

  Any iterable.

#### Returns

* `number`

  Number of items returned by that iterable.

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
