Assuming that the cpt is a leaf, returns 1 instead of a CPT entry when value missing
get_log_leaf_entries(cpt, x)
x
a vector of values