I have a problem with the product count inside frontend category view.
I was wondering what the problem could be.
Any help would be appreciated.
So I've tried to turn the anchor off as suggested in the comments below
If i change anchor from yes to no the backend still shows 411 items but the frontend suddenly shows only 284 instead of 411. I've looked into this and it seems it looks to if the product is active or not and if product is in stock.
Further searching and debugging, I found out that indeed the anchor is taking the sub-category products that are in stock and active will be shown in the category view.