    def sequence_length(self) -> int:
        """
        How many elements are there in this sequence?
        """
        raise NotImplementedError
How many elements are there in this sequence?
allennlp/data/fields/sequence_field.py