1print([v for v in
2 Request.objects.annotate(month=ExtractMonth('date_creation'),
3 year=ExtractYear('date_creation'),)
4 .order_by()
5 .values('month', 'year')
6 .annotate(total=Count('*'))
7 .values('month', 'year', 'total')
8 ])
9