write byte count on Write