Parse the way elements.
Add a prepaser to count the number of elements