def count_complex_words(text=''):
    words = get_words(text)
    sentences = get_sentences(text)
    complex_words = 0
    found = False
    cur_word = []
    for word in words:
        cur_word.append(word)
        if (count_syllables(cur_word) >= 3):
            if (not word[0].isupper()):
                complex_words += 1
            else:
                for sentence in sentences:
                    if str(sentence).startswith(word):
                        found = True
                        break
                if found:
                    complex_words += 1
                    found = False
        cur_word.remove(word)
    return complex_words
def count_complex_words(text=):
    words = get_words(text)
    sentences = get_sentences(text)
    complex_words = 0
    found = False
    cur_word = []
    for word in words:
        cur_word.append(word)
        if (count_syllables(cur_word) >= 3):
            if (not word[0].isupper()):
                complex_words += 1
            else:
                for sentence in sentences:
                    if str(sentence).startswith(word):
                        found = True
                        break
                if found:
                    complex_words += 1
                    found = False
        cur_word.remove(word)
    return complex_words