def _sequence_len(msa, description):
    """
    Takes an MSA and a description as an input and returns the sequence length
    of that description.
    """
    sequence = msa.get_sequence(description)
    if sequence:
        return len(sequence.ungapped())
    return 0
