So you have to count the selected items.
That's easy.
{count(that.G03Q09)}
and
{count(that.G03Q10)}
and sum up.
The problem is that you may count the "Other" of G03Q09.
So you have to say:
{if(count(that.G03Q10)==0,sum(count(that.G03Q09),count(that.G03Q10)),sum(count(that.G03Q09),count(that.G03Q10))-1)}
or
{if(G03Q09_SQ13)!="Y",sum(count(that.G03Q09),count(that.G03Q10)),sum(count(that.G03Q09),count(that.G03Q10))-1)}
meaning: if there were "Others" you sum and calculate "-1".
This I'd insert into a hidden equation (let's call it eqCount).
Now you know how many items are ranked.
In the last question show all items as in the ranking question with subquestion relevances.
Think:
The 17 th rank can only be displayed if 17 items were ranked
The 16 th rank can only be displayed if 17 items or 16 items were ranked
The 15 th rank can only be displayed if 17, 16 or 15 items were ranked
The 14 th rank can only be displayed if 16, 15 or 14 items were ranked
...
Here the sample (the equation is not hidden, you have to do that after testing)
Joffm