Returns the number /n/ of possible diagnostic targets configured. For indices /i/ with 0 ≤ i ≤ n you can retrieve the target qualifier with DiagGetTargetQualifier.Note: Diagnostic descriptions that cannot work as diagnostic targets are not counted, e.g. descriptions configured as interpretation only are ignored.