Django Qeryset Count
# Returns the total number of entries in the database.
count = Entry.objects.count()
# Returns the number of entries whose headline contains 'Lennon'
count = Entry.objects.filter(headline__contains='Lennon').count()
Repulsive Raven