I asked it how many X’s there are in the word Bordeaux it told me there are none.
I asked it how many times X is pronounced in Bordeaux it told me the x in Bordeaux isn’t pronounced with the word ending in an “o” sound.
I asked it how many “o” there are in Bordeaux it told me there are no o in Bordeaux.
So, is it counting the sounds made in the word? Or is it counting the letters? Or is it doing none of the above and just giving a probabilistic output based on an existing corpus of language, without any thought or concepts.