Why Do Large Language Models (LLMs) Struggle to Count Letters?