With proc Freq and proc SQL we can easily find which variable has most number of unique values.