...
That seems like it might make grelber's "2" disappear.
Not after the fact. I tried that after the 2 appeared; it apparently only works for future updates. It won't 'erase' what came before (unless and until the updates denoted are downloaded and installed — or so I presume). So that's another dead end.
That really got me thinking that the "2" must be cached somewhere on your iMac, so I went looking and found /Library/Preferences/com.apple.SoftwareUpdate.plist which includes
<key>LastUpdatesAvailable</key>
<integer>0</integer>
which, I believe, is where your "2" lives, and I
think this procedure will get rid of it:
- Navigate to System Prefs > App Store.
- Make sure that "Automatically check for updates" is NOT checked.
- Quit System Prefs.
- Navigate to /Library/Preferences/com.apple.SoftwareUpdate.plist.
- Trash it. (You'll probably be asked to authenticate with your Admin password.)
- Empty the trash.
- Shut down.
- Start up.
Hopefully, your "2" will be gone.
FULL DISCLOSURE:
- On the one hand, there's enough data stored on your iMac for macOS to recreate at least part of the trashed file. (The rest requires App Store access.)
- But on the other hand, System Prefs .plists are notorious for not regenerating after being trashed.
- On the third hand, though, Software Update is a dead issue in your instance, so you've got nothing to lose but your "2".
More: I forgot to mention that I more or less confirmed my theory by changing my "0" to a "1" and then launching the App Store and actually seeing the "1" revert to a "0" in the open .plist as I watched.