The Docstrings for t and T mention regions. Well, they only work for "blue" (highlighted) regions, (which is wise I suppose, else easy to forget how big the region is.) Perhaps mention that. On the other hand M-= (count-lines-region) works even if there is no blue.