def get_seq_overlap(seq1, seq2):
    """
    Count number of overlapping bases between two gapped sequences
    """

    overlap = 0
    for i in range(len(seq1)):
        if seq1[i] != "-" and seq2[i] != "-":
            overlap += 1

    return overlap