# pull-stream/sources/count

## usage

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

### `count(max)`

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

