<commit_before>JSONAPI.configure do |config|
  # Built in paginators are :none, :offset, :paged
  config.default_paginator = :offset
  config.default_page_size = 10
  config.maximum_page_size = 50
end<commit_msg>Configurating JSONAPI to return record count (#753)<commit_after>JSONAPI.configure do |config|
  # Built in paginators are :none, :offset, :paged
  config.default_paginator = :offset
  config.default_page_size = 10
  config.maximum_page_size = 50
  config.top_level_meta_include_record_count = true
  config.top_level_meta_record_count_key = :record_count
end
{'fraction_non_alphanumeric': 0.08056042031523643, 'fraction_numerical': 0.01926444833625219, 'mean_word_length': 5.891566265060241, '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': '5887058', 'n_tokens_mistral': 200, 'n_tokens_neox': 185, 'n_words': 43}