I was wondering if there exists a function or command that counts the number of string variables in the dataset. I currently just found the c(k) that count the number of variables, but it is not possible to specify an option or "if" of any sort.