code: def _get_public_key_count(self):
          
          index = len(self._public_keys)
          for authentication in self._authentications:
              if authentication.is_public_key():
                  index += 1
          return index
docs: Return the count of public keys in the list and embedded.