<commit_before><?php
class Kwc_Directories_CategorySimple_CategoriesModel extends Kwf_Model_Tree
{
    protected $_table = 'kwc_directory_categories';
    protected $_toStringField = 'name';

    protected function _setupFilters()
    {
        parent::_setupFilters();
        $this->_filters['pos'] = new Kwf_Filter_Row_Numberize();
        $this->_filters['pos']->setGroupBy(array('parent_id', 'component_id'));
    }

    protected function _init()
    {
        parent::_init();
        $this->_exprs['count_categories'] = new Kwf_Model_Select_Expr_Child_Count('Categories');
    }
}<commit_msg>count categories not needed in categoriesModel<commit_after><?php
class Kwc_Directories_CategorySimple_CategoriesModel extends Kwf_Model_Tree
{
    protected $_table = 'kwc_directory_categories';
    protected $_toStringField = 'name';

    protected function _setupFilters()
    {
        parent::_setupFilters();
        $this->_filters['pos'] = new Kwf_Filter_Row_Numberize();
        $this->_filters['pos']->setGroupBy(array('parent_id', 'component_id'));
    }

    protected function _init()
    {
        parent::_init();
    }
}
{'fraction_non_alphanumeric': 0.12588028169014084, 'fraction_numerical': 0.0, 'mean_word_length': 4.144796380090498, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, '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': '6480', 'n_tokens_mistral': 334, 'n_tokens_neox': 330, 'n_words': 56}