If you need to count how much it changes by, you would need to add a run code step. It should be a pretty basic one, but does requiring writing a bit of JavaScript. The step would just do the math. Then you could check the output in a condition and branch your logic.
If you just want to check if it increased only, you would do that in a Condition and just compare the two variables (current vs prior inventory)