'Return the number of lines currently in the history.
(This is different from get_history_length(), which returns
the maximum number of lines that will be written to a history file.)'

def get_current_history_length(self):

    value = len(self.history)
    log((u'get_current_history_length:%d' % value))
    return value
