Dynamic step numbers and total step count reflect chosen resource type

* Use CSS counters for step numbers
* Use JavaScript for total step count
* All non-current steps have class "prev" or "next" -- never invisible so they'll always be counted by the CSS counters