def count(text, min_length=2):
    """
    Indexes a count of all words found in text
    """

    index = {}
    for word in text.split(" "):
        if index.get(word.lower()):
            index[word.lower()] += 1
        elif len(word) >= min_length:
            index[word.lower()] = 1

    return index