count method

Observable<int> count()

Counts the number of emissions of this Observable and emits that number on completion.

Implementation

Observable<int> count() => CountObservable<T>(this);