Yea, I think a vlq int makes more sense.

Is this the maximum dictionary id, or the largest dictionary index in the data page?

i.e. if the dictionary now has 100 entries but this page only went up to 5, would you write 100 or 5 here?