Because the function returns the number of elements each time it's called.
_________________________
There are two types of vessels, submarines and targets.