/// Count the number of items received.
///
/// # Examples
///
/// ```
/// use asyncplify::*;
///
/// let vec = (0..10)
///     .into_stream()
///     .count()
///     .into_vec();
/// assert!(vec == [10], "vec = {:?}", vec);
/// ```
Count the number of items received.
Count the number of items received .
fn count(self) -> Count<Self>
        where Self: Sized
    {
        Count::new(self)
    }
fn count ( self ) -> Count < Self > where Self : Sized { Count :: new ( self ) }
Count the number of items received.
Count the number of items received .
self
examples
```
use asyncplify::*.


` ` ` use asyncplify :: * .