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

      @renderPanelMessages()

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

      )

  updateLineMessages: (render = false) ->
    @messagesLine = []
    if @ignoredMessageTypes.length
      @messagesLine = @messagesLine.filter (message) => @ignoredMessageTypes.indexOf(message.type) is -1
    if render
