gap-size

gap-size is a built-in function in `C source code'.

(gap-size)

Return the size of the current buffer's gap.
See also `gap-position'.