Get correct warninged task count