I am trying to convert a factor into a numeric data type, but noticed that my values and levels are swapped, so when I convert, I just get the count of each value instead of