public static function getFileCounts($path, $ignoreList){
		$path 		= self::normalizePath($path);
	    $count 		= 0;
		$dir 		= \opendir($path);
	    while(false !== ( $file = \readdir($dir)) ) {
			$fullPath 		= self::normalizePath(self::combinePath($path, $file));
			$relativePath 	= self::normalizePath(\str_replace(self::normalizePath(\base_path() . '/') , '', $fullPath));
	        if (( $file != '.' ) && ( $file != '..' ) && !(self::checkPatternMatchFileList($ignoreList, $relativePath))) {
	            if ( \is_dir($fullPath) ) {
	                $count += self::getFileCounts($fullPath, $ignoreList);
	            }
	            else {
					$count++;
	            }
	        }
	    }
	    \closedir($dir);
	    return $count;
	}