counts_wpcts function

Analysis function to count levels of a factor with percentage of the column total