Use fold() to finish the implementation of size() given in the starter code. size() returns the number of elements in a List.
fold()
size()
List