ring-size

ring-size is a compiled Lisp function in `ring.el'.

(ring-size RING)

Return the size of RING, the maximum number of elements it can contain.