It is possible to some degree with this plugin now:
BUG. The number of notifications in the favicon
Look at the number of notifications. What do you see? - Yes, there is -10.
As it turns out, if you very fast click on -
Even if you simply click on a few laps they stray from the correct number.