def number_of_features_with_name_like(features, pattern):
    """Returns number of features with names that match the provided regex pattern"""
    pattern = re.compile(re.escape(pattern))
    names = [f.get_name() for f in features]
    return len([name for name in names if pattern.search(name)])
Returns number of features with names that match the provided regex pattern
featuretools/tests/testing_utils/features.py