def number_of_subkeys(self):
    """int: number of subkeys within the key."""
    if not self._registry_key and self._registry:
      self._GetKeyFromRegistry()

    return len(self._subkeys)
def number_of_subkeys ( self ) : if not self . _registry_key and self . _registry : self . _GetKeyFromRegistry ( ) return len ( self . _subkeys )
int: number of subkeys within the key.