<table class="table table-bordered table-responsive">
  <thead>
  <tr>
    <th>Reaction</th>
    <th>Count</th>
    <th>Reaction Outcomes</th>
  </tr>
  <tbody ng-repeat="reaction in drugEvents.searchResults">
    <tr>
      <td>{{reaction.term}}</td>
      <td>{{reaction.count}}</td>
      <td>
        <button class="btn btn-info btn-outcome" ng-click="drugEvents.expandOutcome($index)">{{reaction.outcomes.length}}</button>
      </td>
    </tr>
    <tr collapse="drugEvents.outcomeExpanded != {{$index}}">
      <td colspan="3">
        <table class="table table-bordered table-responsive">
          <thead>
          <tr>
            <th>Outcome</th>
            <th>Count</th>
          </tr>
          </thead>
          <tbody ng-repeat="outcome in reaction.outcomes">
          <tr class="{{drugEvents.getOutcomeRowClass(outcome.term)}}">
            <td>{{outcome.term}}</td>
            <td>{{outcome.count}}</td>
          </tr>
          </tbody>
        </table>
      </td>
    </tr>
  </tbody>
  </thead>
</table>

<table class="table table-bordered table-responsive">
  <thead>
  <tr>
    <th>Reaction</th>
    <th>Total Number of Times Reported</th>
    <th>Reaction Outcomes</th>
  </tr>
  <tbody ng-repeat="reaction in drugEvents.searchResults">
    <tr>
      <td>{{reaction.term}}</td>
      <td>{{reaction.count}}</td>
      <td>
        <button class="btn btn-info btn-outcome" ng-click="drugEvents.expandOutcome($index)">{{reaction.outcomes.length}}</button>
      </td>
    </tr>
    <tr collapse="drugEvents.outcomeExpanded != {{$index}}">
      <td colspan="3">
        <table class="table table-bordered table-responsive">
          <thead>
          <tr>
            <th>Outcome</th>
            <th>Count</th>
          </tr>
          </thead>
          <tbody ng-repeat="outcome in reaction.outcomes">
          <tr class="{{drugEvents.getOutcomeRowClass(outcome.term)}}">
            <td>{{outcome.term}}</td>
            <td>{{outcome.count}}</td>
          </tr>
          </tbody>
        </table>
      </td>
    </tr>
  </tbody>
  </thead>
</table>

Change 'Count' to 'Total Number of Times Reported'
Change 'Count' to 'Total Number of Times Reported'

Closes partnet/ads-proto#6
