from django.db.models import Count Contact.objects.all().values('ff_status').annotate(Count('ff_status'))