Drupal node "ranking" based on views sorting
No need to make things that difficult; Views supports a field that display the sort index. It's labeled Global: View result counter. 



It won't get you total results, but you can put that information in the header/footer with the Global: Result summary field.