count-lines-region

count-lines-region is an alias for `count-words-region' in `simple.el'.


(count-lines-region START END &optional ARG)

This function is obsolete since 24.1;
use `count-words-region' instead.

Count the number of words in the region.
If called interactively, print a message reporting the number of
lines, words, and characters in the region (whether or not the
region is active); with prefix ARG, report for the entire buffer
rather than the region.

If called from Lisp, return the number of words between positions
START and END.