No current LLM understands words, nor letters. They all have input and output tokens, that roughly correspond to syllabes and letter groupings. Any kind of task involving counting letters or words is outside their realistic capabilities.
LLMs are a tool, and like any other tool, they have strengths and weaknesses. Know your tools.