Imagine I have the following model:
class Person(models.Model): ...other stuff... optional_first_name= models.CharField(max_length=50, blank=True)
After some digging, finally found out:
Person.objects.values('optional_first_name').annotate(c=Count('optional_first_name')).order_by('-c')