Counter is no longer available on the regular ByteReadChannel. Use CounterByteReadChannel instead.
this.counted().totalBytesRead