Linked Revit Model Count

Hi,
I’ve linked two types of houses to the file, located on topography.
I was able to count them by connecting nodes as in the image.
I need to count the number of types in file more efficiently. How I can, for example, make dynamo recognize different types and count them without my input ?
(I have 14 types of houses and it is time consuming to count them by naming each one).
Thanks

List.GroupByKey off the link instances node, where the list is the element id and the key is the link name. Then list.count with lacing set to longest.

1 Like

Oh, that worked perfectly! Thank You a lot!!

1 Like