Return how many items the list holds. An ArrayList uses size(), not length.
int size(java.util.ArrayList<Integer> list)
Examples
There are also 2 hidden tests you can't see. Solve the problem, not the examples.