Reimplemented ByteCounter