Webiny\Component\Router\Route\RouteCollection::count PHP Method

count() public method

Returns the number of routes within the current collection.
public count ( ) : integer
return integer
    public function count()
    {
        return $this->routes->count();
    }