Returns the number of UTF-16 code units in self

Property definitions

core :: u16_string $ String :: u16_length
	# 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
lib/core/text/u16_string.nit:237,2--244,4