code: def removed(self):
          
          removed = 0
          for line in self.diff.replace('\r', '').split("\n"):
              if line.startswith('-') and not line.startswith('---'):
                  removed += 1
          return removed
docs: Return the total number of deleted lines in the file.
  
          :return: int lines_deleted