[Feature Request] (Local) token counter as implemented with Xenova/the-tokenizer-playground

Implementing a toggle to add a token counter based on the model and corresponding context window would be amazing (for the Pro subscription).
The space can be found here, have not looked into how it exactly works: