Return the number of words in a string
n_words(x)
x
a string
vector of numbers
syn_end <- syn("end") syn_end_words <- n_words(syn_end) syn_end[syn_end_words <= 1]