rlmesh_dict_len
Dict(spaces): copies each spec into a fresh child space; the keys sort at construction. Duplicate or empty keys are RLMESH_ERR_INVALID_ARGUMENT. Lend a space's spec with rlmesh_space_spec().
RLMeshStatus rlmesh_dict_len(const RLMeshDict* dict, size_t* out)