Hi, sorry it's impossible. After a task is checked off, it loses the position info on the google server, so there's no way to know its position within the list.
As for "count the number of completed tasks", you'll have to use the official google app - this value is not exposed to 3rd party developers. However, after you've used the list for a while and the completed counts goes into hundreds, it starts to lose meaning.