public function count()
	{
		$result = 0;

		foreach ($this->routes as $routes) {
			$result += count($routes);
		}

		return $result;
	}
public function count()
	{
		$result = 0;

		foreach ($this->routes as $routes) {
			$result += count($routes);
		}

		return $result;
	}
public function count ( ) { $ result = 0 ; foreach ( $ this -> routes as $ routes ) { $ result += count ( $ routes ) ; } return $ result ; }
Returns the number of key-value mappings in the router map.

@return int the number of key-value mappings in the router map.
Returns the number of key - value mappings in the router map .