Use correct variable and correct property when counting processing orders.
Merge pull request #5933 from barrykooij/bugfix/wc_processing_order_count

Use correct variable and correct property when counting processing order...