           @li class: 'deprecation list-nested-item collapsed', =>
             @div class: 'deprecation-info list-item', =>
               @span class: 'text-highlight', deprecation.getOriginName()
-              @span " (called #{deprecation.getCallCount()} times)"
+              @span " (called #{_.pluralize(deprecation.getCallCount(), 'time')})"
 
             @ul class: 'list', =>
               @li class: 'list-item', =>

                  @div class: 'btn-toolbar', =>
                    @span class: 'icon icon-alert'
                    if packageName = self.getPackageName(stack)
                      @span packageName + " package (called #{stack.callCount} times)"
                      @a href:self.createIssueUrl(packageName, deprecation, stack), "Create Issue on #{packageName} repo"
                    else
                      @span "atom core"  + " (called #{stack.callCount} times)"

                  @div class: 'stack-trace', =>
                    for {functionName, location, fileName} in stack

{$, $$, ScrollView} = require 'atom'
path = require 'path'
_ = require 'underscore-plus'
fs = require 'fs-plus'
Grim = require 'grim'

