def countWords(text:str)->dict:
    """Prototype of a function counting number of appeareances of words in a text."""
    word_count = {}
    text = text.lower() # to prevent counting We and we as different words
    skips = [".",",",";",":","'"]
    for character in skips:
        text = text.replace(character,"")
    for word in text.split(" "):
        if word in word_count.keys(): # the parenthesis are necessary!
            word_count[word] += 1
        else:
            word_count[word] = 1
    return word_count