The number on WesWork's Dock icon adds together the counts you choose. At first, it shows only your outstanding tasks.
The badge changes right away.
These settings only affect the Dock badge. The toolbar always shows every count that's more than zero.