def count_words(wordlst: list):
    """
    count words in tweet text from list of list, dict, or str
    :param wordlst: list of tweets
    :return: word count, tweet count
    """
    wrd_count: int = 0
    tw_count: int = 0
    for tw in wordlst:
        if isinstance(tw, dict):
            tw_wrds: list = tw['text'].split()
        elif isinstance(tw, str):
            tw_wrds: list = tw.split()
        else:
            tw_wrds: list = tw
        tw_count += 1
        wrd_count += len(tw_wrds)
    return wrd_count, tw_count