<commit_before>{{#if controllers.taxonConceptController.taxaCount}}
  <div class="text-frame download-aside">
    <span>{{commaify controllers.taxonConceptController.taxaCount}}</span> taxa
    <h3>Download</h3>
  </div>
  <div class="btn-holder">
    <a id="index-download-btn" class="btn red" href="#index-downloads">Index</a>

    <div style="display:none">
      <div id="index-downloads" class="lightbox downloads">
        <div class="heading-holder">
          <strong class="heading">Download {{commaify
            controllers.taxonConceptController.taxaCount}} Taxa</strong>
        </div>
        <div class="text-holder">
          <h2>Download Full Checklist</h2>

          <a href="#" {{action "download" target="view" on="click"}} data-format="pdf" data-doc-type="Index" id="download" class="btn red"><strong>PDF</strong></a>
          <a href="#" {{action "download" target="view" on="click"}} data-format="csv" data-doc-type="Index" id="download" class="btn red"><strong>CSV</strong></a>
          <a href="#" {{action "download" target="view" on="click"}} data-format="json" data-doc-type="Index" id="download" class="btn red"><strong>JSON</strong></a>
        </div>
      </div>
    </div>

    <a id="history-download-btn" class="btn red" href="#history-downloads">History</a>

    <div style="display:none">
      <div id="history-downloads" class="lightbox downloads">
        <div class="heading-holder">
          <strong class="heading">Download {{commaify total_cnt}} Taxa</strong>
        </div>
        <div class="text-holder">
          <h2>Download Checklist History</h2>

          <a href="#" {{action "download" target="view" on="click"}} data-format="pdf" data-doc-type="History" id="download" class="btn red"><strong>PDF</strong></a>
          <a href="#" {{action "download" target="view" on="click"}} data-format="csv" data-doc-type="History" id="download" class="btn red"><strong>CSV</strong></a>
          <a href="#" {{action "download" target="view" on="click"}} data-format="json" data-doc-type="History" id="download" class="btn red"><strong>JSON</strong></a>
        </div>
      </div>
    </div>
  </div>
  </div>
{{/if}}<commit_msg>Fixed history download taxa count<commit_after>{{#if controllers.taxonConceptController.taxaCount}}
  <div class="text-frame download-aside">
    <span>{{commaify controllers.taxonConceptController.taxaCount}}</span> taxa
    <h3>Download</h3>
  </div>
  <div class="btn-holder">
    <a id="index-download-btn" class="btn red" href="#index-downloads">Index</a>

    <div style="display:none">
      <div id="index-downloads" class="lightbox downloads">
        <div class="heading-holder">
          <strong class="heading">Download {{commaify controllers.taxonConceptController.taxaCount}} Taxa</strong>
        </div>
        <div class="text-holder">
          <h2>Download Full Checklist</h2>

          <a href="#" {{action "download" target="view" on="click"}} data-format="pdf" data-doc-type="Index" id="download" class="btn red"><strong>PDF</strong></a>
          <a href="#" {{action "download" target="view" on="click"}} data-format="csv" data-doc-type="Index" id="download" class="btn red"><strong>CSV</strong></a>
          <a href="#" {{action "download" target="view" on="click"}} data-format="json" data-doc-type="Index" id="download" class="btn red"><strong>JSON</strong></a>
        </div>
      </div>
    </div>

    <a id="history-download-btn" class="btn red" href="#history-downloads">History</a>

    <div style="display:none">
      <div id="history-downloads" class="lightbox downloads">
        <div class="heading-holder">
          <strong class="heading">Download {{commaify controllers.taxonConceptController.taxaCount}} Taxa</strong>
        </div>
        <div class="text-holder">
          <h2>Download Checklist History</h2>

          <a href="#" {{action "download" target="view" on="click"}} data-format="pdf" data-doc-type="History" id="download" class="btn red"><strong>PDF</strong></a>
          <a href="#" {{action "download" target="view" on="click"}} data-format="csv" data-doc-type="History" id="download" class="btn red"><strong>CSV</strong></a>
          <a href="#" {{action "download" target="view" on="click"}} data-format="json" data-doc-type="History" id="download" class="btn red"><strong>JSON</strong></a>
        </div>
      </div>
    </div>
  </div>
  </div>
{{/if}}
{'fraction_non_alphanumeric': 0.2042205582028591, 'fraction_numerical': 0.002722940776038121, 'mean_word_length': 3.903225806451613, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 125, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 53, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7551995', 'n_tokens_mistral': 1413, 'n_tokens_neox': 1381, 'n_words': 273}