Apply numerotation on path elements of type 'Collection'.