scala: replaced old-school code with a functional and efficient mostRetweeted