I am using the transformers library and have a tokenizer(BPE) and I know how to use it for my texts.
I wonder how can I count the frequency of each token in my text corpu