def _num_matured(card_reviews):
    """Count the number of times the card matured over the length of time.
    This can be greater than one because the card may be forgotten and mature again."""

    tot = 0
    for review in card_reviews.reviews:
        if review.lastIvl < 21 and review.ivl >= 21:
            tot += 1

    return tot