Determine size of Unsigned LEB128 encoded value.
value to be encoded
length of decoded value
https://en.wikipedia.org/wiki/LEB128
See Implementation
Determine size of Unsigned LEB128 encoded value.