bytesize function

The number of bytes taken by a message