length

The read-only CharacterData.length property returns the number of characters in the contained data, as a positive integer.

MDN Reference