Added a len property to the loop snippet.