Updated Underscore method countBy