code: def apply(self, plan):
          '''
          Submits actual planned changes to the provider. Returns the number of
          changes made
          '''
          if self.apply_disabled:
              self.log.info('apply: disabled')
              return 0
  
          self.log.info('apply: making changes')
          self._apply(plan)
          return len(plan.changesf apply(self, plan):
          '''
          Submits actual planned changes to the provider. Returns the number of
          changes made
          '''
          if self.apply_disabled:
              self.log.info('apply: disabled')
              return 0
  
          self.log.info('apply: making changes')
          self._apply(plan)
          return len(plan.changes)
docs: Submits actual planned changes to the provider. Returns the number of
          changes made