keras/src/layers/preprocessing/text_vectorization.py/TextVectorization/vocabulary_size
class TextVectorization:    def vocabulary_size(self):
        """Gets the current size of the layer's vocabulary.

        Returns:
            The integer size of the vocabulary, including optional
            mask and OOV indices.
        """
        return self._lookup_layer.vocabulary_size()