Hi,
After the decision step is completed, you could add +1 (or whatever) to a container element APPROVAL_COUNTER (or whatever) with a simple container operation. Then you could read the value easily with SAP_WAPI_READ_CONTAINER. Of course this will still leave the problem that how to calculate the number of total amount of user decision steps in the workflow template (unless you want to hardcode it). And this becomes even harder if you have dynamic parallel processing in your workflow...
Kind regards,
Karri