 <p>i don't know how you would do it efficiently but if you need to get it done.</p> <pre><code>keywords = Keyword.objects.all() for keyword in keywords: print 'Total Articles: %d' % (Article.objects.filter(keywords=keyword).count()) </code></pre>