title: TypeError: count() takes exactly one argument
body: <p>I'm new to Python and Django, and I modified this code from a tutorial. I'm getting <code>TypeError: count() takes exactly one argument (0 given)</code> when I load the page.  I've been troubleshooting and googling and can't seem to figure it out.  What am I doing wrong?</p>
  
  <pre><code>def report(request):
      flashcard_list = []
      for flashcard in Flashcard.objects.all():
          flashcard_dict = {}
          flashcard_dict['list_object'] = flashcard_list
          flashcard_dict['words_count'] = flashcard_list.count()
          flashcard_dict['words_known'] = flashcard_list.filter(known=Yes).count()
          flashcard_dict['percent_known'] = int(float(flashcard_dict['words_known']) /    flashcard_dict['words_count'] * 100)
          flashcard_list.append(flashcard_dict)
      return render_to_response('report.html', { 'flashcard_list': flashcard_list })  
  </code></pre>