code: def embeddedFileCount(self):
          
          if self.isClosed or self.isEncrypted:
              raise ValueError("operation illegal for closed / encrypted doc")
  
          return _fitz.Document_embeddedFileCount(self)
docs: Return number of embedded files.