misc: Add count_lead_ones() function, useful for UTF-8 handling.
streams: Reading by char count from unicode text streams is not implemented.