The number on the green flag next to an item in your inventory shows the number of these items that have been added recently.
New items have already been included in your total item count.
Scroll through these sections to see all of the items with green flags. The exclamation point will then disappear.