def _ensure_counter(self):
if self._counter_path not in self._client.kv:<EOL><INDENT>self._client.kv[self._counter_path] = '<STR_LIT>'.zfill(self._COUNTER_FILL)<EOL><DEDENT>
Ensure counter exists in Consul.