Count characters instead of bytes.

Use `wc -m` handles multibyte characters correctly depending on the current locale.