cache length value