docs: def count(self, files=False):
          """ Returns a count of unique values or files.
  
          Args:
              files (bool): When True, counts all files mapped to the Entity.
                  When False, counts all unique values.
          Returns: an int.
          """
          return len(self.files) if files else len(self.unique())