With nesting counter