ChatGPT - Apple Counting Problem