src/transformers/models/tapas/tokenization_tapas.py/TapasTokenizer/_question_encoding_cost
class TapasTokenizer:    def _question_encoding_cost(self, question_tokens):
        # Two extra spots of SEP and CLS.
        return len(question_tokens) + 2