How to count "Locally defined values"

How can I extract the value of Locally defined values as a simple number? For instance, if a sun study generates 6532 calculations, that I can simply extract that number.

Hey Max -

List Length?

Mind reading is exhausting. Please always provide a .gh file (with internalized Rhino geometry if that is applicable) when asking questions.

Note that, “sun study” likely means 3rd party plug-ins and you’d have to internalize Grasshopper data downstream from any of those components to be able to get help from most users here. Also, “sun study” possibly means this question should be asked on https://discourse.ladybug.tools/
-wim

1 Like

Thanks for your response! And because the sunstudy was just an example, but the question was about a general Grasshopper functionality, I thought this forum would be more appropriate.

Does List Length do what you need then?
-wim