Automatically count the number of supporter badges

No need for num_badges now.