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