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

@return void
set module part route counts