I think this is the data source, but it's currently failing: http://stats.bower.io/bower/api/1/data/all
yeah! it'd be great to include this.
@rayshan works on the stats site and can help you out with the right API.
Interesting project, can you spin the heroku app up so I can take a look?
The correct URI should be http://stats.bower.io/api/1/data/all. This endpoint is meant for stats.bower.io consumption, though total count is in the overview key if you want it. The way I'm getting it is by polling the bower registry data (implementation - https://github.com/bower/stats.bower.io/blob/master/server/cache.coffee#L51-L57), it's public so you can also do that.
Future API endpoints are WIP right now, please see here: https://github.com/bower/stats.bower.io/issues/2. If there's interest I'm happy to build a specific endpoint for total package count.
Bower is added. I didn't have any trouble using the existing endpoint. No sense in adding something special if you don't have to. I just added a new JsonPathSampler so I can point to things farther down inside a JSON document. I'm sure it'll be useful for some other repository, too.