Suppose we have R choices from 1 to k and each of these is equally likely to be the true rank. The expected total rank equals
$$\sum_{k=1}^R (k=1)k $$
For example
R = 4
0 1 2 3 1