Fix blacklist counter

* Fixes race condition where a blacklist counter can remain at -1 indefinitely and never expire 
* Added a method to retrieve the current count of blacklisted taskKeys