Wrote numEntries and getNthPopular