title: Get record number of total items in ticket paginator
body: <p>i have applied paginator on my query objects. when i get records greater then 15, they are skpped to the 2 pages.</p>
  
  <p>that words fine for me. but i want to ask what if i want to know my record number in the template?</p>
  
  <p>example: if i get 22 records, i want to get record number 1,2,3,4, .... 22</p>
  
  <p>here is my code:</p>
  
  <pre><code>paginator.Paginator(query_results, 15)
  page = int(request.GET.get('page', '1'))
  tickets = ticket_paginator.page(page)
  </code></pre>
  
  <p>my template code:</p>
  
  <pre><code>&lt;th&gt;{% trans "Title" %}&lt;/th&gt;
  {% for item in items.object_list %}
  &lt;th&gt;&lt;a href='view/{{ item.id }}'&gt;{{ item.title }}&lt;/a&gt;&lt;/th&gt;
  </code></pre>
  
  <p>here i wanto to get the record number.</p>
  
  <pre><code>&lt;th&gt; #&lt;/th&gt;
  &lt;th&gt;{% trans "Title" %}&lt;/th&gt;
   {% for item in items.object_list %}
   &lt;th&gt;counter&lt;/th&gt;
   &lt;th&gt;&lt;a href='view/{{ item.id }}'&gt;{{ item.title }}&lt;/a&gt;&lt;/th&gt;
  </code></pre>
  
  <p>Do anyone knows about it?
  help me out</p>