<commit_before><div class="heading">
  <h1 class="left">Contributors</h1>
  <%= link_to "Become a Contributor", become_a_contributor_path, class: "button tiny radius right" %>
</div>

<dl class="tabs">
  <dd class="<%= "active" if current_page?(contributors_path) %>">
    <%= link_to contributors_path do %>
      All <span><%= @icla_signatures && @ccla_signatures ? (@icla_signatures.count + @ccla_signatures.count) : (IclaSignature.count + CclaSignature.count) %></span>
    <% end %>
  </dd>
  <dd class="<%= "active" if current_page?(icla_signatures_path) %>">
    <%= link_to icla_signatures_path, rel: 'individual-contributors' do %>
      Individuals <span><%= @icla_signatures ? @icla_signatures.count : IclaSignature.by_user.count %></span>
    <% end %>
  </dd>
  <dd class="<%= "active" if current_page?(ccla_signatures_path) %>">
    <%= link_to ccla_signatures_path, rel: 'companies' do %>
      Companies <span><%= @ccla_signatures ? @ccla_signatures.count : CclaSignature.by_organization.count %></span>
    <% end %>
  </dd>
</dl>
<commit_msg>Update logic for All Contributors tab count.<commit_after><div class="heading">
  <h1 class="left">Contributors</h1>
  <%= link_to "Become a Contributor", become_a_contributor_path, class: "button tiny radius right" %>
</div>

<dl class="tabs">
  <dd class="<%= "active" if current_page?(contributors_path) %>">
    <%= link_to contributors_path do %>
      All <span><%= User.authorized_contributors.count %></span>
    <% end %>
  </dd>
  <dd class="<%= "active" if current_page?(icla_signatures_path) %>">
    <%= link_to icla_signatures_path, rel: 'individual-contributors' do %>
      Individuals <span><%= @icla_signatures ? @icla_signatures.count : IclaSignature.by_user.count %></span>
    <% end %>
  </dd>
  <dd class="<%= "active" if current_page?(ccla_signatures_path) %>">
    <%= link_to ccla_signatures_path, rel: 'companies' do %>
      Companies <span><%= @ccla_signatures ? @ccla_signatures.count : CclaSignature.by_organization.count %></span>
    <% end %>
  </dd>
</dl>

{'fraction_non_alphanumeric': 0.17893710385177963, 'fraction_numerical': 0.0019502681618722574, 'mean_word_length': 4.829545454545454, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 65, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3399031', 'n_tokens_mistral': 795, 'n_tokens_neox': 739, 'n_words': 147}