<commit_before><commit_msg>Added statistics partial back<commit_after>-unless @works.empty?

  section.collection-stats
    .collection-stats_counters
      .counter(data-prefix="#{number_with_delimiter @statistics_object.work_count}") #{'Work'.pluralize(@statistics_object.work_count)}
      .counter(data-prefix="#{number_with_delimiter @statistics_object.page_count}") #{'Page'.pluralize(@statistics_object.page_count)}
      .counter(data-prefix="#{number_with_delimiter @statistics_object.comment_count}") #{'Note'.pluralize(@statistics_object.comment_count)}
      -unless @statistics_object.subjects_disabled
        .counter(data-prefix="#{number_with_delimiter @statistics_object.subject_count}") #{'Subject'.pluralize(@statistics_object.subject_count)}
        .counter(data-prefix="#{number_with_delimiter @statistics_object.mention_count}") #{'Reference'.pluralize(@statistics_object.mention_count)}
      .counter(data-prefix="#{number_with_delimiter @statistics_object.contributor_count}") #{'Collaborator'.pluralize(@statistics_object.contributor_count)}
    .collection-stats_counters
      .counter(data-prefix="#{number_with_delimiter @statistics_object.transcription_count}") #{'Page'.pluralize(@statistics_object.transcription_count)} transcribed
      .counter(data-prefix="#{number_with_delimiter @statistics_object.edit_count}") Page edits
      -unless @statistics_object.subjects_disabled
        .counter(data-prefix="#{number_with_delimiter @statistics_object.index_count}") #{'Page'.pluralize(@statistics_object.index_count)} indexed
      .counter(data-prefix="#{number_with_delimiter @statistics_object.translation_count}") #{'Page'.pluralize(@statistics_object.translation_count)} translated
      .counter(data-prefix="#{number_with_delimiter @statistics_object.ocr_count}") OCR #{'Correction'.pluralize(@statistics_object.ocr_count)}

  h4.legend.fglight Last 7 Days Statistics
  section.collection-stats_recent
    .counter(data-prefix="#{number_with_delimiter @statistics_object.contributor_count(7)}") #{'Collaborator'.pluralize(@statistics_object.contributor_count(7))}
    .counter(data-prefix="#{number_with_delimiter @statistics_object.transcription_count(7)}") #{'Page'.pluralize(@statistics_object.transcription_count(7))} transcribed
    .counter(data-prefix="#{number_with_delimiter @statistics_object.edit_count(7)}") Page #{'edit'.pluralize(@statistics_object.edit_count(7))}
    -unless @statistics_object.subjects_disabled
      .counter(data-prefix="#{number_with_delimiter @statistics_object.index_count(7)}") #{'Page'.pluralize(@statistics_object.index_count(7))} indexed
      .counter(data-prefix="#{number_with_delimiter @statistics_object.mention_count(7)}") #{'Reference'.pluralize(@statistics_object.mention_count(7))}
      .counter(data-prefix="#{number_with_delimiter @statistics_object.subject_count(7)}") New #{'subject'.pluralize(@statistics_object.subject_count(7))}
    .counter(data-prefix="#{number_with_delimiter @statistics_object.comment_count(7)}") #{'Note'.pluralize(@statistics_object.comment_count(7))}
    .counter(data-prefix="#{number_with_delimiter @statistics_object.translation_count(7)}") #{'Page'.pluralize(@statistics_object.translation_count(7))} translated
    .counter(data-prefix="#{number_with_delimiter @statistics_object.ocr_count(7)}") OCR #{'Correction'.pluralize(@statistics_object.ocr_count(7))}

{'fraction_non_alphanumeric': 0.14601769911504425, 'fraction_numerical': 0.0058997050147492625, 'mean_word_length': 8.57909604519774, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5000310', 'n_tokens_mistral': 1064, 'n_tokens_neox': 1056, 'n_words': 91}