Counting elements with dictionary · HackerTrans