code: def test_objlen(client):
      obj = {"foo": "bar", "baz": "qaz"}
      client.json().set("obj", Path.root_path(), obj)
      assert len(obj) == client.json().objlen("obj", Path.root_path())
  
      client.json().set("obj", Path.root_path(), obj)
      assert len(obj) == client.json().objlen("obj")
  
imports: import pytest
  import redis
  from redis import Redis, exceptions
  from redis.commands.json.decoders import decode_list, unstring
  from redis.commands.json.path import Path
  from .conftest import _get_client, assert_resp_response, skip_ifmodversion_lt
label_desc: Use image node_id 26 for calling a global function with example usage: test_objlen(client) without return types