Why Microsoft Copilot Miscounts Letters in Words & Where to Report It
Question details
Users want to know why Microsoft Copilot fails to accurately count the occurrences of specific letters within a word and how to seek help for this issue.

- Product
- Microsoft Copilot
- Device & OS
- not provided
- Scenario
- Asking the AI assistant to count the number of times a specific letter appears in a given word or phrase.
- Observed behavior
- The AI returns an incorrect character count because language models process text in tokens rather than individual letters.
Keep in mind that AI language models process text in chunks called tokens, not as individual letters, which inherently limits their ability to count characters perfectly.
Use Code Generation for Counting and Report the Issue
Bypass the tokenization limitation by asking Copilot to write a script that counts the letters, and report the core issue to Microsoft's community.
Large Language Models (LLMs) like Microsoft Copilot use tokenization to read text. Instead of seeing individual letters, they see groups of characters or whole words. This makes tasks like counting specific letters highly prone to errors.
Instead of asking 'How many times does the letter A appear in this word?', ask Copilot to 'Write a Python script to count the occurrences of the letter A in this word and output the result.'
Navigate to the Copilot for Microsoft 365 Community Hub or the Microsoft Q&A website.
Post your question or report the counting discrepancy using the 'Microsoft Copilot for Microsoft 365' tag so product experts can document the limitation.

Need Accurate Text Analysis? Try WPS Office
While AI tools like Microsoft Copilot struggle with basic character counting, traditional offline tools in WPS Office provide 100% accurate word and character counts instantly. WPS Office is a free, lightweight, and highly compatible alternative to Microsoft Office.
- 1. Download and Install: Download WPS Office for free from the official website and install it on your device.
- 2. Open Your Document: Launch WPS Writer and open your text document.
- 3. Use Word Count: Go to the 'Review' tab and click on 'Word Count' to see exact character statistics, including spaces and without spaces.

Frequently Asked Questions
Why do AI models struggle with math and counting?
AI language models predict the next most likely word based on training patterns (tokens) rather than performing actual mathematical calculations or analyzing text character by character.
Can I force Copilot to count letters correctly?
You cannot guarantee a correct count directly from standard chat responses. However, prompting Copilot to write and execute a short Python or JavaScript code snippet to count the letters will yield an accurate result.
Where is the best place to report Copilot bugs?
Microsoft recommends posting in the Copilot for Microsoft 365 Community Hub or Microsoft Q&A using the official Copilot tags to ensure the development team sees your feedback.




