Gets the number of items in @list.
Depending on the model implementation, calling this function may be less efficient than iterating the list with increasing values for
the number of items in @list.
2.44