src/XML/Element.php
public function countChildren( $nsPrefix = NULL )
	{
		$i = 0;
		foreach( $this->children( $nsPrefix, TRUE ) as $node )
			$i++;
		return $i;
	}
public function countChildren( $nsPrefix = NULL )
	{
		$i = 0;
		foreach( $this->children( $nsPrefix, TRUE ) as $node )
			$i++;
		return $i;
	}
public function countChildren ( $ nsPrefix = NULL ) { $ i = 0 ; foreach ( $ this -> children ( $ nsPrefix , TRUE ) as $ node ) $ i ++ ; return $ i ; }
Returns count of children.
@access		public
@return		int
Returns count of children .