Finding list length in Scala without using length/size | Hacker News Reader