Counting elements with dictionary | Hacker News Reader