def true_positive(a, b):
    """ Return quantity of TP - True Positives
        What is in A and B
        being A the set of Positive prediction
        and B the set of Actual Positive """

    tp = 0
    for item in a:
        if item in b:
            tp += 1
    return tp