Text.getCharacterCount

int getCharacterCount()

Gets the character count.

Returns

the number of characters or -1 in case of failure.