Number of items in a structure

Hi folks,
is it possible to retrieve the number of items in a structure?

Something like (pseudocode):

It is not currently possible. But it should be easy to add.

Thanks for your quick reply.

Sorry for doublepost.

I thought this would be a nice junior task so I did it myself.
The code is finished and working for native and javascript. (Don’t know about android though)
The number of subitems of a structure can be accessed for global-, scene- and object variables via expression.

I just have to figure out how to create a pull request on github …

I hope you haven’t started yet.

Pull request is out