The NLEVELS option in PROC FREQ will create a separate table regardless of how many variables you request. The number of columns in the table will depend on if the variable(s) have missing values or not. In the first case, Origin does not have missing values, so the table will only show the variable name and the number of unique levels. In the second case, where you chose all variables (or if you had chosen the Cylinders variable initially), you will see columns for Levels, Missing Levels, and Nonmissing Levels. The sum of the Missing Levels and Nonmissing Levels is Levels. There is also a column for Labels if any of the variables has a label assigned.
... View more