Count the items in the iterator and consume it.
import { pipe } from "yta";import { count, range } from "yta/async";pipe(range(10), count());// => 10 Copy
import { pipe } from "yta";import { count, range } from "yta/async";pipe(range(10), count());// => 10
The input type
Count the items in the iterator and consume it.