Can someone recommend a function that can allow me to count and return the number of items in a list?
library(stringr) l <- strsplit(words, "a") if(# number of items in list l < 1) next