Availability:built-in
character_count(+Stream,
-Count)Unify Count with the current character index. For input
streams this is the number of characters read since the open; for output
streams this is the number of characters written. Counting starts at 0.