count-text-lines is an alias for `nroff-count-text-lines' in `nroff-mode.el'.

(count-text-lines START END &optional PRINT)

This function is obsolete since 22.1;
use `nroff-count-text-lines' instead.

Count lines in region, except for nroff request lines.
All lines not starting with a period are counted up.
Interactively, print result in echo area.
Noninteractively, return number of non-request lines from START to END.