Exact size of the encoding of a in bits. Callers use it to size the EncoderState buffer, so it must never under-estimate.
a