---
title: "Discussion on \"Why Your LLM Can't Count the R's in 'Strawberry'\" | Hashnode"
description: "Discussion on \"Why Your LLM Can't Count the R's in 'Strawberry'\". Ask ChatGPT how many R's are in strawberry and it often gets it wrong. The reason isn't a bug — it's tokenization. Here's what's actually happening, with an interactive demo."
url: "https://hashnode.com/posts/why-your-llm-can-t-count-the-r-s-in-strawberry/6ae15bd87700189050d03c0f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why Your LLM Can't Count the R's in 'Strawberry'](https://monthlydatascience.hashnode.dev/why-your-llm-can-t-count-the-r-s-in-strawberry?utm_source=hashnode&utm_medium=feed)

Ask ChatGPT how many R's are in strawberry and it often gets it wrong. The reason isn't a bug — it's tokenization. Here's what's actually happening, with an interactive demo.

Oct 28 · 6 min read · monthlydatascience.hashnode.dev  
Read the article

-   [#tokenization](https://hashnode.com/tag/tokenization)
-   [#llm](https://hashnode.com/tag/llm)
-   [#token](https://hashnode.com/tag/token)
-   [#tokenization-in-ai](https://hashnode.com/tag/tokenization-in-ai)

## Written by

[Mohitm](https://hashnode.com/@mohitm)

@mohitm · Bangalore, India

  
[View profile](https://hashnode.com/@mohitm)

Data science professional with around 15 years experience, working to on Pricing and Media analytics practice for CPG companies. Currently building a micro-learning app for Stats/ ML learning. Exploring the AI goodness (and the slop) like the rest.

## Responses 1

Markdown supported · ⌘↵ to post

[Mohitm](https://hashnode.com/@mohitm)

[Oct 28](https://hashnode.com/posts/why-your-llm-can-t-count-the-r-s-in-strawberry/6ae15bd87700189050d03c0f/comment/6ae170774ace2d609e0d8189)

Most modern LLMs correct or bypass the "strawberry" counting issue through specific engineering changes, prompt workarounds, or execution tools rather than a fundamental leap in character-level perception.
