I have the output of my function (key, value):
foo , 1 foo , 3 foo , 6 foo , 0 foo , 1 bar , 1 bar , 2 bar , 3 bar , 4 bar , 5
Key is string,