I think the only way to obtain an item number is to iterate through the hash table. I don't see any possible usefulness of knowing the current item number though.