def find_all(tofind, string):
    """Returns number of times a certain substring is found"""
    found = [i for i in range(len(string)) if string.startswith(tofind, i)]
    num_found = len(found)
    return num_found