def sentence_count(doc):
    """Return number of sentences in a text.

    :param doc: Text to be processed
    :type doc: Spacy Doc
    :return: Number of sentences in the text
    :rtype: int
    """
    return len(list(doc.sents))
