class_docstr: Margin that displays the line numbers.
  
  :param relative: Number relative to the cursor position. Similar to the Vi
                   'relativenumber' option.
  :param display_tildes: Display tildes after the end of the document, just
      like Vi does.
code: def get_width(self, cli, get_ui_content):
      line_count = get_ui_content().line_count
      return max(3, len("%s" % line_count) + 1)
  
imports: from __future__ import unicode_literals
  from abc import ABCMeta, abstractmethod
  from six import with_metaclass
  from six.moves import range
  from prompt_toolkit.filters import to_cli_filter
  from prompt_toolkit.token import Token
  from prompt_toolkit.utils import get_cwidth
  from .utils import token_list_to_text
label_desc: Use image node_id 2 for calling the NumberredMargin obj's underlying member method code with example usage: obj.get_width(cli, get_ui_content) and returns: max