private function setCounts()
    {
        foreach($this->routes as $module) {
            $this->counts['module']++;
            foreach($module['routes'] as $route) {
                $this->counts['route']++;
            }
        }
    }