Having data frame like this one:
data.frame(id = c(1,2,3), text = c("my text here", "another the here but different", "no text"))
How is it possible to cound for every row the number of words which has and cut the rows which have equal or less than 2 words?
Expected output
data.frame(id = c(1,2), text = c("my text here", "another the here but different"))