Understand Group by in Django with SQL | Hacker News Reader