/** * Runs the stream and emits the number of elements processed. * * @tsplus getter effect/core/stream/Stream runCount * @tsplus static effect/core/stream/Stream.Aspects runCount */ export function runCount( self: Stream ): Effect { return self.run(Sink.count()) }