Count items in a flat list?

Options
CommunityMember129223
CommunityMember129223 Member, ALL USERS, Partner, Community Member Posts: 4 Occasional Contributor

Hello, 

 

I am trying to count how many items are in a list and display it in a module?

In the example below we have 3 items in the list. 

 

Does a function like this exist? 

 

 

CommunityMember129223_0-1588098473824.png

 

Comments

  • CommunityMember129223
    CommunityMember129223 Member, ALL USERS, Partner, Community Member Posts: 4 Occasional Contributor

    Thanks! That worked. I was overthinking it. 

  • Javvaji45
    Javvaji45 Member, ALL USERS, Partner, Community Member Posts: 5 Contributor

     if the flat list don't have top level item, how it will calculate? 

  • Javvaji45
    Javvaji45 Member, ALL USERS, Partner, Community Member Posts: 5 Contributor
    I understood the use case , but I'm asking how we calculate with out top level item - count of list items
  • Javvaji45
    Javvaji45 Member, ALL USERS, Partner, Community Member Posts: 5 Contributor

    I got the solution for the with out top level item , we can calculate the count of items in flat list , by using the Another dimension  based on the dimension we can calculate it .