Creates a sink counting the total number of items in the stream.
The type of items in the stream
A sink that counts all items in the stream
Creates a sink counting the total number of items in the stream.