public function getIssuesCount (ContextSpecificationInterface $filter = null)
	{
		$count = count($this->issues);

		foreach ($this->getChildren($filter) as $child)
		{
			$count += $child->getIssuesCount($filter);
		}

		return $count;
	}
public function getIssuesCount (ContextSpecificationInterface $filter = null)
	{
		$count = count($this->issues);

		foreach ($this->getChildren($filter) as $child)
		{
			$count += $child->getIssuesCount($filter);
		}

		return $count;
	}
public function getIssuesCount ( ContextSpecificationInterface $ filter = null ) { $ count = count ( $ this -> issues ) ; foreach ( $ this -> getChildren ( $ filter ) as $ child ) { $ count += $ child -> getIssuesCount ( $ filter ) ; } return $ count ; }
Counts all issues recursively
@param ContextSpecificationInterface $filter
@return array
Counts all issues recursively