ByteCounter complete and tested.