commit2-cache array and dic,get the length of cache data