title: django database functions cumulative count?
body: <p>is their a way to create cumulative count using/customizing django database functions. this built-in query gets the number of items for each year. what if we need the number of items before that year ?</p>
  
  <pre><code>items.values('year').annotate(nb=Count('id'))
  </code></pre>