code: def getTotalNumImages(self) -> int:
      return len(self.nameToImageData)
  
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 7 for calling the ImageDataExtractor obj's underlying member method code with example usage: obj.getTotalNumImages() and returns: len