Count unique values in each column

Could be useful to distinguish categorical variables from numeric
variables. I'd estimate that anything with more than 10 unique values is
numeric