src/FS/Folder/Reader.php
public function getCount( $pattern = NULL )
	{
		$count	= 0;
		$list	= $this->getList( $pattern );
		foreach( $list as $entry )
			$count++;
		return $count;
	}
public function getCount( $pattern = NULL )
	{
		$count	= 0;
		$list	= $this->getList( $pattern );
		foreach( $list as $entry )
			$count++;
		return $count;
	}
public function getCount ( $ pattern = NULL ) { $ count = 0 ; $ list = $ this -> getList ( $ pattern ) ; foreach ( $ list as $ entry ) $ count ++ ; return $ count ; }
Returns Number of Files and Folders within current Folder.
@access		public
@param		string		$pattern		RegEx Pattern for Name Filter
@return		int
Returns Number of Files and Folders within current Folder .