Live template edit
{{PAGESINCATEGORY|Featured articles}}
gives 6,498{{PAGESINCATEGORY|Featured articles|R}}
gives 6498
Sandbox edit
{{PAGESINCATEGORY/sandbox|Featured articles}}
gives 6,498{{PAGESINCATEGORY/sandbox|Featured articles|R}}
gives 6498