File size: 280 Bytes
438c749
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
def count_filler_words(text):
    fillers = ["um", "uh", "like", "basically", "actually"]

    text = text.lower()
    total_fillers = 0

    for word in fillers:
        total_fillers += text.count(word)

    print("\nFiller Words Count:", total_fillers)
    return total_fillers