Why is the category item count not updating after assigning a category?

Why is the category item count not updating after assigning a category?