title: connection.queries returns me nothing django
body: <p><code>from django.db import connection, reset_queries</code><br><br>
  <strong>Prints: []</strong></p>
  
  <pre><code>reset_queries()
  p = XModel.objects.filter(id=id) \
  .values('name') \
  .annotate(quantity=Count('p_id'))\
  .order_by('-quantity') \
  .distinct()[:int(count)]
  print(connection.queries)
  </code></pre>
  
  <p><strong>While this prints:</strong></p>
  
  <pre><code>reset_queries()
  tc = ZModel.objects\
  .filter(id=id, stock__gt=0) \
  .aggregate(Sum('price'))
  print(connection.queries)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/sak5z.png" rel="noreferrer"><img src="https://i.stack.imgur.com/sak5z.png" alt="enter image description here"></a><br><br>I have changed fields names to keep things simple. (Fields are of parent tables i.e. <code>__</code> to multiple level)<br><br>
  I was trying to print MySQL queries that Django makes and came across <code>connection.queries</code>, I was wondering why doesn't it prints empty with first, while with second it works fine. Although I am getting the result I expect it to. Probably the query is executed. Also am executing only one at a time.</p>