Incorrect code snippet on documentation page

Hi, just wanted to let you know that this snippet is not working for me since the last update:

I would also like to propose an alternative way to approach this. It would be helpful to have this baked into the JSON output snippet, much how you can do it now with subitems. Here is an example:
Screenshot 2022-11-25 at 3.43.42 PM
Here you can see the Length option under the option Attendees, however it would be wonderful if the JSON object above it also had the Grey bubble with the Length option. This way, I can easily pass the number of objects generated to an IF check.

Thanks!

Hi @djangelic, I just gave this a go and the snippet still seems to work for me on n8n 0.204.0, though I was using the code node:

Can you confirm which version of n8n you were using when running into this?