Get the index number out of list

True , this is @Aleksi special. It is always fascinating how compact he makes every solution.