<commit_before><commit_msg>NOTICKET added initial version clientside arrayHelper.js<commit_after>(function (window) {
    'use strict';

    var arrayHelper = {};

    arrayHelper.getItemCount = function(results) {
        return results.reduce(function(memo, result) {
            return result.length;
        }, 0);
    }

	window.arrayHelper = arrayHelper;

})(window);
{'fraction_non_alphanumeric': 0.11796246648793565, 'fraction_numerical': 0.002680965147453083, 'mean_word_length': 3.4, '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': '2994339', 'n_tokens_mistral': 108, 'n_tokens_neox': 103, 'n_words': 22}