app/views/committees/index.html.erb
<div class="page-header">
<h1><%= Committee.model_name.human(count: 2).capitalize %></h1>
</div>
<p class="pull-right"><%= t('app.counts.committee', count: @committees.size).html_safe %></p>
<table class="table table-striped">
<thead>
<tr>
<th><%= Committee.human_attribute_name :name %></th>
<th><%= Committee.human_attribute_name :parliament_issues %></th>
<th><%= Committee.human_attribute_name :representatives %></th>
</tr>
</thead>
<tbody>
<% @committees.each do |com| %>
<tr>
<td><%= link_to com.name, com %></td>
<td><%= com.parliament_issues.count %></td>
<td><%= com.representatives.count %></td>
</tr>
<% end %>
</tbody>
</table>