pub async fn count_workflow_steps(
pool: &DbPool,
organization_id: Option<Uuid>,
workflow_run_id: Uuid,
) -> Result<i64>Expand description
Counts workflow steps using the legacy nullable visibility scope.
None retains its historical admin visibility across global and
organization-owned workflow runs. Prefer count_workflow_steps_with_scope
for new code.