# pull-stream/sources/count

## usage

### `count = require('pull-stream/sources/count')`

### `count(max, onAbort)`

create a stream that outputs `0 ... max`.
by default, `max = Infinity`, see
[take](../throughs/take.md)

