'Ensure a container is frozen.
If the container does not exist the container will be created.
:param count: number of times this command has been called by itself.
:type count: ``int``'

def _frozen(self, count=0):

    self.check_count(count=count, method='frozen')
    if self._container_exists(container_name=self.container_name, lxc_path=self.lxc_path):
        self._execute_command()
        self._config()
        container_state = self._get_state()
        if (container_state == 'frozen'):
            pass
        elif (container_state == 'running'):
            self.container.freeze()
            self.state_change = True
        else:
            self._container_startup()
            self.container.freeze()
            self.state_change = True
        self._check_archive()
        self._check_clone()
    else:
        self._create()
        count += 1
        self._frozen(count)
