Punctuation Counter Count the Unicode punctuation characters in text using the P category. Description Count the Unicode punctuation characters in text using the P category.