Resolve the effective AI iteration count based on the requested depth and profile.
The article type identifier
The analysis depth requested via workflow_dispatch input
Number of AI analysis iterations to perform
Resolve the effective AI iteration count based on the requested depth and profile.