I am trying to count the number of times a value appears in a row of multiple
values, then return the value and the number of times it appears, then count
and return all the rest of the values in the row as well.