data Georgia; set sashelp.zipcode(where=(StateName="Georgia")); if msa=0 then msa=.; run; ods output NLevels=CountsNLevels; proc freq data=georgia nlevels; tables CountyNm AreaCode ZIP_Class MSA / noprint missing; label ZIP_Class=" " MSA=" " CountyNm=" " AreaCode=" "; title1 "Counts of Variable Levels"; run; proc print data=CountsNLevels; title1 "Counts of Variable Levels"; run;