//statement int i = 0; for (Node n : list) i++;