Add static `size` to `ring_buffer`
this represent the size of the buffer.