Could you be more specific?
You have a field called user_rank and you sort by desc so that the largest rank appears first?
Do you want the largest rank to be number one or the number of users?
from your second response, i guess you want to be able to say "you are No.1 out of 276"?
If you give more information we are more likely to be able to figure out what you want.
you can always do a mysql_num_rows() before mysql_fetch_assoc() to determine the number of ranks.