Calculate total length of all strings in a list in Scala.