Adds a counter representing the amount of chunks received thus far.
--a----------------------b-------|withCounter()--{chunk:'a',counter:0}--{chunk:'b',counter:1}-| Copy
--a----------------------b-------|withCounter()--{chunk:'a',counter:0}--{chunk:'b',counter:1}-|
Generated using TypeDoc
Adds a counter representing the amount of chunks received thus far.