def count_words_per_sentence(sentence_tokens):
    '\n    Count words in a sentence\n    :param sentence_tokens: a list of words and potentially punctuation\n    :return: the number of words in the sentence\n    '
    punctuation = '.,!?/'
    return len([word for word in sentence_tokens if (word not in punctuation)])
Count words in a sentence
:param sentence_tokens: a list of words and potentially punctuation
:return: the number of words in the sentence
def count_words_per_sentence(sentence_tokens):
    '\n    Count words in a sentence\n    :param sentence_tokens: a list of words and potentially punctuation\n    :return: the number of words in the sentence\n    '
    punctuation = '.,!?/'
    return len([word for word in sentence_tokens if (word not in punctuation)])