Thread:Help talk:Count format/Bad number of pages count in a category

Hello,

I'm trying to get the actual number of pages which are in a category with following query :

Unfortunately, the results includes redirected pages and thus is superior to the right result expected.

How can I exclude redirected pages from this query ?

Thanks,