import string


def getPunctuationCount(text):
    """
    Returns the number of punctuation in a text. List of punctuation : (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~).
    Example : 'My Name is Jane. I am a twenty years old', result 2.
    """
    return len("".join(_ for _ in text if _ in string.punctuation))