count

count returns the number of elements in a supplied list. If the list is null, returns NA.

count(Location[] list)