private function calculateSelectOptionsSize($aElements, $aFeatures = [])
    {
        $selectSize = $this->calculateSelectOptionsSizeForced($aElements, $aFeatures);
        if ((in_array('include_null', $aFeatures)) && ($selectSize != '1')) {
            $selectSize++;
        }
        return $selectSize;
    }
private function calculateSelectOptionsSize($aElements, $aFeatures = [])
    {
        $selectSize = $this->calculateSelectOptionsSizeForced($aElements, $aFeatures);
        if ((in_array('include_null', $aFeatures)) && ($selectSize != '1')) {
            $selectSize++;
        }
        return $selectSize;
    }
private function calculateSelectOptionsSize ( $ aElements , $ aFeatures = [ ] ) { $ selectSize = $ this -> calculateSelectOptionsSizeForced ( $ aElements , $ aFeatures ) ; if ( ( in_array ( 'include_null' , $ aFeatures ) ) && ( $ selectSize != '1' ) ) { $ selectSize ++ ; } return $ selectSize ; }
Calculate the optimal for all options within a select tag

@param array $aElements
@param array $aFeatures
@return string|int
Calculate the optimal for all options within a select tag