You can use `_.reduce` instead of `.each` it will make it much neater and require less variables. We use _.reduce in a couple places, so you can grep for some examples.