core :: String :: u16_length
self
# Returns the number of UTF-16 code units in `self` fun u16_length: Int do var n = 0 for c in chars do if c.to_i > 0xFFFF then n += 2 else n += 1 end return n end