Get the number of columns in a data frame – Snippet #35

Discover how to get the number of columns in a data frame with R