code: def get_cursor_right_position(self, count=1):
          
          if count < 0:
              return self.get_cursor_left_position(-count)
  
          return min(count, len(self.current_line_after_cursor))
docs: Relative position for cursor_right.