Count automatic variables in respect to the containing function, instead of having a global counter
Execute part of Scope::get in Tul