Is there a function that Counts the words of a brief text?

Is there a function that Counts the words of a brief text?

Just split the text by space and then count the length of the array

2 Likes