Deterministic Unicode text statistics: UTF-16 units, Unicode code points, UTF-8 bytes, line count, and Japanese script counts.