getnames function

vector of frequencies from a data frame