This example should be just this one line, in as silly as that sounds. A developer then can do what do what they please with the list (maybe they just want the count, or whatever), not just grab the zeroth element as shown below.