We can also use the length() function on character vectors. What do you think is the length of sentence?

[1] 1[1] 4[1] 17

Wahey! sentence is a character vector with 1 element. The element is made out of 4 words and 17 characters, but that doesn't affect the vector length.

Might it be that the entire sentence is only 1 element in the vector?