     bubble
 
   renderCount: ->
-    count = File: 0, Project: @messages.length
-    @messages.forEach (message) -> count.File++ if message.currentFile
-    count.Line = @messagesLine.length
-    @bottomContainer.setCount(count)
+    @bottomContainer.setCount(@count)
 
   renderPanelMessages: ->
     messages = null

    else if @state.scope is 'File'
      messages = @messages.filter (message) -> message.currentFile
    else if @state.scope is 'Line'
      messages = @messagesLine
    @panel.updateMessages messages, @state.scope is 'Project'

  renderPanelMarkers: ->


  renderBubble: (point) ->
    @removeBubble()
    return unless @showBubble
    activeEditor = atom.workspace.getActiveTextEditor()
    return unless activeEditor?.getPath?()
    point = point || activeEditor.getCursorBufferPosition()
    for message in @messages
      continue unless message.currentLine
      continue unless message.range.containsPoint point
      @bubble = activeEditor.markBufferRange([point, point], {invalidate: 'inside'})
      activeEditor.decorateMarker(@bubble,
        type: 'overlay',
