Fix zero badges (eg when downloading small files with Firefox)
Sometimes the badge is shown when count is zero. This happens for example when we download a small file with Firefox. it happens because countVisible was not always being taken into account. This is corrected.
parent
3c911926