mozilla/openbadges-discovery — pull request #347 by stenington (2014-05-21 13:32:19+00:00)
Title: Pull real stats on dashboard page

Adds an endpoint to pull real stats. Since the frontend collections only know about a fraction of the total number of objects they could contain at any time (unless the user has less than a page-worth of everything) counting that way doesn't work.

I think this is also a good first step towards more interesting stats, for what it's worth, since the server could do more interesting calculations/analytics at this endpoint.