This workflow reads the copied text and gets the last number it sees in that text, then increase that number N times and pastes back.
Example: copy this line to clipboard

command: incr 5
Then it will paste following:





As simple as that!