How to collect elements from links visible on a view in the host model?

x[0] just means first item of list x. It’s the same as :

look at your List of linked documents and get the one you’re interested in.