@Override
    public long arraySize(String path) {
        return get(arraySizeAsync(path));
    }
@Test
    public void testArraySize() {
        RJsonBucket<TestType> al = redisson.getJsonBucket("test", new JacksonCodec<>(TestType.class));
        TestType t = new TestType();
        NestedType nt = new NestedType();
        nt.setValues(Arrays.asList("t1", "t2", "t4"));
        t.setType(nt);
        al.set(t);

        long s = al.arraySize("type.values");
        assertThat(s).isEqualTo(3);

        List<Long> s1 = al.arraySizeMulti("$.type.values");
        assertThat(s1).containsExactly(3L);
    }