Fix total badges count