      def is_video(self):
          """ Return whether source is a video or not """
          return self.vid_reader is not None
  
      @property
      def count(self):
          """ Number of faces or frames """
          if self.is_video:
              retval = int(count_frames_and_secs(self.folder)[0])
          else:
              retval = len(self.file_list_sorted)
 
</s> remove     @property
    def images_found(self):
 </s> add     def count_images(self):
    def count_frames(self):
      def is_video(self):
          """ Return whether source is a video or not """
          return self.vid_reader is not None
  
    def count_frames(self):
    def count_frames(self):
          """ Number of faces or frames """
          if self.is_video:
              retval = int(count_frames_and_secs(self.folder)[0])
          else:
              retval = len(self.file_list_sorted)
keep keep keep keep replace replace keep keep keep keep keep
 Ensure frames are only counted once (#834) 
tools/lib_alignments/media.py