Add a 'terms' command to look at values & frequencies of terms