     if count
       if 'death' in attributes
         incident.deaths = count
-      else if "case" in attributes or "hospitalization" in attributes
+      else if 'case' in attributes or 'hospitalization' in attributes
         incident.cases = count
       else
         incident.cases = count

        'deaths'
        'dateRange'
        'status'
        if incident.locations.length then 'locations'
      ]
    )

        else if incident.deaths
          incident.type = 'cumulativeDeathCount'
      else
        if 'active' in attributes
          incident.type = 'activeCount'
        else if incident.cases
          incident.type = 'caseCount'
        else if incident.deaths
          incident.type = 'deathCount'
      approximateAttributes = [
        'approximate', 'average', 'min', 'max'
      ]
      suspectedAttributes = _.intersection(
        ['suspected'].concat(approximateAttributes), attributes
      )
      if suspectedAttributes.length > 0
        incident.status = 'suspected'
      approximateAttributesUsed = _.intersection(
        approximateAttributes, attributes
      )
      if approximateAttributesUsed.length > 0
        incident.approximate = true
    incident.articleId = articleId
    diseaseAnnotation = nearestAnnotation(countAnnotation, diseaseTerritory.annotations)
    if diseaseAnnotation
