  
      def count_images(self):
          """ Number of images or frames """
          if self.is_video:
              retval = int(count_frames(self.args.input_dir))
          else:
              retval = len(self.input_images)
          return retval
  
      def check_input_folder(self):
 
</s>
            retval = int(count_frames(self.args.input_dir, fast=True))
  
      def count_images(self):
          """ Number of images or frames """
          if self.is_video:
            retval = int(count_frames(self.args.input_dir, fast=True))
          else:
              retval = len(self.input_images)
          return retval
  
      def check_input_folder(self):
keep keep keep keep replace keep keep keep keep keep
 Reinstate fast frame count for convert and extract. Exit early if count is wrong.
scripts/fsmedia.py