Earned badges algorithm serves up correct number of badges of correct type!!