Ver originalfrom django.db.models import Counttop_ten_tags = Tag.object.all().annotate(cnt=Count('noticia')).order_by('-cnt')[:10]