   @incidentCollection = new Meteor.Collection(null)
   @loading = new ReactiveVar(true)
   @content = new ReactiveVar("")
-  @annotationCount = new ReactiveVar(null)
   Meteor.call("getArticleEnhancements", @data.article.url, (error, result) =>
     if error
       Modal.hide(@)

        >#{Handlebars._escape(content.slice(start, end))}</span>"""
      )
      lastEnd = end
    Template.instance().annotationCount.set(count)
    html += Handlebars._escape("#{content.slice(lastEnd)}")
    new Spacebars.SafeString(html)


  loading: ->
    Template.instance().loading.get()
  annotatedCount: ->
    total = Template.instance().incidentCollection.find().fetch().length
    if total
      count = Template.instance().incidentCollection.find({accepted: true}).fetch().length
      count + " of " + total + " incidents reviewed"

  annotatedContent: ->
    content = Template.instance().content.get()
