@snoyberg Both. [See this](http://hackage.haskell.org/packages/archive/text/latest/doc/html/Data-Text.html#v:length)