code: def getNumberOfVersions(self) -> int:
      return len(self.versionNames)
  
imports: import logging
  from datetime import datetime
  from typing import Dict, List
  from MONAILabelReviewerLib.MONAILabelReviewerEnum import SegStatus
  from MONAILabelReviewerLib.SegmentationMeta import SegmentationMeta
label_desc: Use image node_id 42 for calling the ImageData obj's underlying member method code with example usage: obj.getNumberOfVersions() and returns: len