Skip to content

Instantly share code, notes, and snippets.

@markmarkoh
Created January 10, 2010 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markmarkoh/273680 to your computer and use it in GitHub Desktop.
Save markmarkoh/273680 to your computer and use it in GitHub Desktop.
function(key, values) {
var sum = 0;
values.forEach(function(f) {
sum += f.count;
});
return {count: sum};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment