length package:text is:exact

O(n) Returns the number of characters in a Text.
O(n) Returns the number of characters in a Stream. Properties
length . stream = length
O(n) Returns the number of characters in a text.
O(n) Returns the number of characters in a Text.