I have followed the "Number of Articles" tutorial:

But I've modified it to "only" show the total number of articles on my site (I'm not using the default menu).

However, because I have over 40,000 articles, it prints as "40000".

Does anyone have an idea of how to make it add the , to separate the "thousands" field?