Celery stats for active, pending and done tasks.

doesn't this explode if the task is not in the map?, try .get with a default  if you want to use a dict