Earlier quoted context omitted.
Chat GPT does have counting logic. The math model is encoded inside of the language model.
This needs citation. These are not the same things. It will get numerical references right if it has sources used in the model, but it isn't doing any numerical calculations.
This doesn't mean it's always correct, or can be trusted without verification.