Running shell commands to count words and paragraphs in the source and a rewritten draft (copied to a temp file) so the rewrite can be checked against ±10% length and paragraph constraints. Reporting intent: "Counting files". Now running the counts.
Counting the source article's words and paragraphs to enforce the ±10% length and paragraph constraints; running a shell command to compute exact counts. Counting words and paragraphs of the rewritten draft to ensure it falls within the allowed range; writing the draft to a temp file and running word/paragraph counts.
Counting the source article's words and paragraphs to enforce the ±10% length and paragraph constraints; running a shell command to compute exact counts.
Counting words and paragraphs of the rewritten draft to ensure it falls within the allowed range; writing the draft to a temp file and running word/paragraph counts.