Count Message tokens - Claude Docs

https://docs.claude.com/en/api/messages-count-tokens