As many have pointed out, there are much better ways to prompt this. Also, it’s silly to use an LLM here, as there’s little hope of making them 100% reliable at counting. What’s notable IMO isn’t that it can’t count, but that it doesn’t see it can’t count (and e.g. try its REPL)
Commentary on LLM prompting and counting reliability
By
–