     symbol = @symbolMap[symbolKey]
     unless symbol?
       @symbolMap[symbolKey] = symbol = new Symbol(symbolText)
-      @addSymbolToList(symbol)
+      @count += 1
 
     symbol.addInstance(editorPath, bufferRow, scopes)
 

      symbol.removeInstance(editorPath, bufferRow, scopes)
      if symbol.getCount() is 0
        delete @symbolMap[symbolKey]
        @removeSymbolFromList(symbol)

  addSymbolToList: (symbol) ->
    @symbols.push(symbol)

  removeSymbolFromList: (symbol) ->
    index = @symbols.indexOf(symbol)
    @symbols.splice(index, 1) if index > -1

  getTokenizedLines: (editor) ->
    # Warning: displayBuffer and tokenizedBuffer are private APIs. Please do not


  symbolsForConfig: (config) ->
    symbols = []
    for symbolKey, symbol of @symbolMap
      symbols.push(symbol) if symbol.appliesToConfig(config)
    symbols

