# List operations, count and split list into lists

**URL:** <https://forum.dynamobim.com/t/list-operations-count-and-split-list-into-lists/109823>\
**Category:** Revit\
**Created:** [April 30, 2025, 11:09am UTC](https://forum.dynamobim.com/t/list-operations-count-and-split-list-into-lists/109823 "2025-04-30T11:09:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cem\_Altineller](https://avatars.discourse-cdn.com/v4/letter/c/8491ac/32.png) [@Cem\_Altineller](https://forum.dynamobim.com/u/Cem_Altineller)\
**Post date:** [April 30, 2025, 11:09am UTC](https://forum.dynamobim.com/t/list-operations-count-and-split-list-into-lists/109823/1 "2025-04-30T11:09:02Z")

</div>

Hi,  
I am trying to number doors in a room, if the room has more than one door. I established how many doors have a room like shown in the picture and the list shows 29 Elements of Count.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/f/afcee844620f94714319a8e8b94adf79b14ef58c.png)

But what i need is, first list should be from 1 to 9, second list should be from 1 to 20 and so on. 29 seperate lists that contains from 1 to x. Stuck at this point. Any help would be appreciated, thanks in advance.

---

<div class="post-metadata">

**Author:** ![kovacsv](https://avatars.discourse-cdn.com/v4/letter/k/f6c823/32.png) [@kovacsv](https://forum.dynamobim.com/u/kovacsv)\
**Post date:** [April 30, 2025, 11:17am UTC](https://forum.dynamobim.com/t/list-operations-count-and-split-list-into-lists/109823/2 "2025-04-30T11:17:59Z")

</div>

in code block type:  
`1..numberofdoors..1;`  
numberofdoors is the data from count node

---

<div class="post-metadata">

**Author:** ![Cem\_Altineller](https://avatars.discourse-cdn.com/v4/letter/c/8491ac/32.png) [@Cem\_Altineller](https://forum.dynamobim.com/u/Cem_Altineller)\
**Post date:** [April 30, 2025, 12:24pm UTC](https://forum.dynamobim.com/t/list-operations-count-and-split-list-into-lists/109823/3 "2025-04-30T12:24:35Z")

</div>

Thank you for the swift answer.
