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


  updateLineMessages: (render = false) ->
    @messagesLine = @linter.messages.getActiveFileMessagesForActiveRow()
    @renderCount()
    @renderPanelMessages() if render



  render: ->
    @messages = @linter.messages.getAllMessages()
    if @ignoredErrorTypes.length
      @messages = @messages.filter (message) => @ignoredErrorTypes.indexOf(message.type) is -1
    @updateLineMessages()
    @renderPanelMessages()
    @renderPanelMarkers()
