frame-total-lines

frame-total-lines is a built-in function in `C source code'.

(frame-total-lines &optional FRAME)

Return number of total lines of FRAME.