Function: ring-size

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