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

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


    deprecations.sort (a, b) -> b.getCallCount() - a.getCallCount()
    @list.empty()

    # I feel guilty about this nested code catastrophe
    if deprecations.length == 0
      @list.append $$ ->
        @li class: 'list-item', "No deprecated calls"
