Get the total number of Carousel views

Hi. How can I get total number of views in my carousel in a script? I tried wrapping it in len() or .length.

self.getSibling("Carousel").props.views (I need the length aka total # of views in the carousel)

len should work. How did you try it exactly ?
And what was the result ?

edit:

1 Like

Thank you very much. That worked perfectly. I am still learning and did not think of this. Greatly appreciated.