def METHOD_NAME(executor):
    passes = executor.passes
    if self.root.passes_start is None:
        self.root.passes_start = passes
    if pb.bar:
        pb.bar.set_passes(passes - self.root.passes_start + 1)