In a django view I have:
signed_by = Demographic.objects.all().values_list('data_entered_by')
And I get [(u'Patient',),(u'Patient',), (u'Other',)].
I want to count all that have Patient value and all that have Other value respectively.
In case I use
signed_by.count()
I get the count for all. How do I count a specified value?