Count Message Tokens

Count the number of tokens in a message, including tools, images, and documents, without creating it.