code: def __init__(self, num_loops: int):
      assert (
          type(num_loops) == int
      ), "Number of loops must be an integer"
      assert (
          num_loops >= 0
      ), "Number of loops cannot be a negative number"
      self.num_loops = num_loops
  
imports: from typing import List
  from augly.video.augmenters.ffmpeg.base_augmenter import BaseVidgearFFMPEGAugmenter
label_desc: Use image node_id 1 to create a new VideoAugmenterByLoops object from inherited base classes: BaseVidgearFFMPEGAugmenter with example: obj = VideoAugmenterByLoops(num_loops)