return the number of bytes in a unicode string