<% if (groups = current_subject.recent_groups).any? %>
<%=t('group.last') %> (<%= groups.count %>)
<% if (groups.count) > 10 %> <% end %>
<% end %>