Add datadog stats for duplicate subtask and subtask update errors.

@sarina