src/Model/Help.php
protected function getCountCommon(array $data = [])
    {
        if (!empty($data['keywords'])) {

            if (empty($data['or_like'])) {

                $data['or_like'] = [];
            }

            $data['or_like'][] = [
                'column' => $this->tableAlias . '.label',
                'value'  => $data['keywords'],
            ];
            $data['or_like'][] = [
                'column' => $this->tableAlias . '.description',
                'value'  => $data['keywords'],
            ];
        }

        parent::getCountCommon($data);
    }
protected function getCountCommon(array $data = [])
    {
        if (!empty($data['keywords'])) {

            if (empty($data['or_like'])) {

                $data['or_like'] = [];
            }

            $data['or_like'][] = [
                'column' => $this->tableAlias . '.label',
                'value'  => $data['keywords'],
            ];
            $data['or_like'][] = [
                'column' => $this->tableAlias . '.description',
                'value'  => $data['keywords'],
            ];
        }

        parent::getCountCommon($data);
    }
This method applies the conditionals which are common across the get_*()
methods and the count() method.

@param array $data Data passed from the calling method

@return void