code: def countApprovedSegmentation(
      self, imageDatas: List[ImageData]
  ) -> int:
      if imageDatas is None:
          return 0
      approvedCount = 0
      for imageData in imageDatas:
          if imageData is None:
              continue
          if imageData.isApproved():
              approvedCount += 1
      return approvedCount
  
imports: import datetime
  import logging
  from typing import Dict, List
  from MONAILabelReviewerLib.ImageData import ImageData
  from MONAILabelReviewerLib.MONAILabelReviewerEnum import Level
label_desc: Use image node_id 29 for calling the ImageDataExtractor obj's underlying member method code with example usage: obj.countApprovedSegmentation(imageDatas) and returns: approvedCount, int