title: How to return number of rows in the template
body: <p>In my view I return all posts of one blog:</p>
  
  <pre><code>    posts = Post.objects.filter(blog=blog)
  </code></pre>
  
  <p>and pass it to context.</p>
  
  <p>But.. How can I get the number of posts in the template ?</p>
  
  <p>This is my template:</p>
  
  <pre><code> &lt;h1&gt;Number of posts: {{ ??? }}  &lt;/h1&gt;
  
   {% for post in posts %}
  
   {{ post.title }}
  
   {{ post.body }}
  
   {% endfor %}
  </code></pre>