also return the size of the ringbuffer