Filter :: count: Bitrix method

      
<?php 
//  Bitrix\Translate\Filter :: count()
//  /dist/bitrix/modules/translate/lib/filter.php:319

    
public function count()
    {
        return 
is_array($this->params) ? count($this->params) : 0;
    }