I have a function that has a reduce. This reduce is always returning zero. I put a console.log inside the reduce, and it wasn\'t printed in the console. It seems like is not