public function countExistingTabSeparators(ContentWrapper\Model $model)
	{
		$id = $model->getType() == ContentWrapper\Model::TYPE_START ? $model->id : $model->bootstrap_parentId;

		$number = \ContentModel::countBy(
			'type=? AND bootstrap_parentId',
			array($model->getTypeName(ContentWrapper\Model::TYPE_SEPARATOR), $id)
		);

		return $number;
	}
public function countExistingTabSeparators(ContentWrapper\Model $model)
	{
		$id = $model->getType() == ContentWrapper\Model::TYPE_START ? $model->id : $model->bootstrap_parentId;

		$number = \ContentModel::countBy(
			'type=? AND bootstrap_parentId',
			array($model->getTypeName(ContentWrapper\Model::TYPE_SEPARATOR), $id)
		);

		return $number;
	}
public function countExistingTabSeparators ( ContentWrapper \ Model $ model ) { $ id = $ model -> getType ( ) == ContentWrapper \ Model :: TYPE_START ? $ model -> id : $ model -> bootstrap_parentId ; $ number = \ ContentModel :: countBy ( 'type=? AND bootstrap_parentId' , array ( $ model -> getTypeName ( ContentWrapper \ Model :: TYPE_SEPARATOR ) , $ id ) ) ; return $ number ; }
count existing tab separators elements

@param ContentWrapper\Model $model

@return int
count existing tab separators elements