给定一个英文文本，输出文本中每个单词的词性，并统计每个词性在文本中出现的次数。
英文文本: "It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness."
Text: "It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness."

POS tagging and frequency counting:
- It [PRON] x 4
- was [VERB] x 4
- the [DET] x 4
- best [ADJ] x 1
- of [ADP] x 2
- times [NOUN] x 2
- worst [ADJ] x 1
- age [NOUN] x 2
- wisdom [NOUN] x 1
- foolishness [NOUN] x 1