def get_local_word_count(bot, _nick, _count_key):
    """ Returns the word count for a given nick for the specific channel"""
    try:
        word_count = int(bot.db.get_nick_value(_nick, _count_key))
    except:
        word_count = 0
    return word_count
