# How to get Len of a list in expression language

**URL:** <https://forum.inductiveautomation.com/t/how-to-get-len-of-a-list-in-expression-language/39826>\
**Category:** Ignition\
**Created:** [October 20, 2020, 7:37am UTC](https://forum.inductiveautomation.com/t/how-to-get-len-of-a-list-in-expression-language/39826 "2020-10-20T07:37:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [October 20, 2020, 7:37am UTC](https://forum.inductiveautomation.com/t/how-to-get-len-of-a-list-in-expression-language/39826/1 "2020-10-20T07:37:26Z")

</div>

Hi  
I want to get the Len of a list in expression binding but I can’t find any function for that.  
Is it possible to do this by expression language?

---

<div class="post-metadata">

**Author:** ![Sanderd17](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sanderd17/32/8735_2.png) [@Sanderd17](https://forum.inductiveautomation.com/u/Sanderd17)\
**Post date:** [October 20, 2020, 7:47am UTC](https://forum.inductiveautomation.com/t/how-to-get-len-of-a-list-in-expression-language/39826/2 "2020-10-20T07:47:29Z")

</div>

What do you mean with a “list”?

If you mean a dataset, the `len()` function just works like you’d expect. It counts the number of rows.

![afbeelding](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/2/c275f2677951bc964df5bcc17ea6f2a4dc480a9c.png)

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [October 20, 2020, 8:33am UTC](https://forum.inductiveautomation.com/t/how-to-get-len-of-a-list-in-expression-language/39826/3 "2020-10-20T08:33:33Z")

</div>

No I mean json array property in perspective.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [October 20, 2020, 2:58pm UTC](https://forum.inductiveautomation.com/t/how-to-get-len-of-a-list-in-expression-language/39826/4 "2020-10-20T14:58:30Z")

</div>

This isn’t currently possible. It’s on our list to add general support for collections to expression operators.
