adds badge instance count to each line in the badge index. fixes #308

Adds a count of the # of badge instances to the badge index. 
![screenshot from 2013-10-15 16 49 27](https://f.cloud.github.com/assets/64711/1338258/c5158650-35e3-11e3-9d3e-cf6156283891.png)