Fix numbering on nested multiplication

If an element is being multiplied, its number should reflect the repeating of that element, not the group it belongs in.

----
Example case:

Input: .outer$*3>.inner$*2

Expected output:
<div class="outer1">
  <!-- two DIVs: .inner1, .inner2 -->
</div>
<div class="outer2">
  <!-- two DIVs: .inner1, .inner2 -->
</div>
<div class="outer3">
  <!-- two DIVs: .inner1, .inner2 -->
</div>

Observed output:
<div class="outer1">
  <!-- two DIVs: .inner1, .inner2 -->
</div>
<div class="outer2">
  <!-- two DIVs: .inner2, .inner2 -->
</div>
<div class="outer3">
  <!-- two DIVs: .inner3, .inner3 -->
</div>