      def is_video(self):
          """ Return whether source is a video or not """
          return self.vid_reader is not None
  
      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)
 
</s> remove             retval = int(count_frames_and_secs(self.folder)[0])
 </s> add             self._count = int(count_frames_and_secs(self.folder)[0]) </s> remove             retval = len(self.file_list_sorted)
        return retval
 </s> add             self._count = len(self.file_list_sorted)
        return self._count </s> remove         self.count = self.count_frames()
 </s> add 
    @property
    def count(self):
      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)
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Alignments tool: Face + Frames count 
tools/lib_alignments/media.py