puppetlabs/puppetdb — pull request #645 by cprice404 (2013-09-12 21:47:26+00:00)
Title: Bug/burgundy/pe 1246 counts shouldnt be nil

Prior to this commit, if the aggregate event count queries don't return any events, then the results will come back with 'nil' values for the various fields ('successes', 'failures', etc.). This commit fixes things so that we're returning zeroes instead.