Count instances of family


Not sure if this has been posted already but I couldn’t find this in a search.
I have a list of families that are in my project.
What I’d like to do is get a count of how many times those families are in my project. So, how many instances of this family are there.
For example, if I put a chair in the model 5 times, I want it to count 5.
Here’s what I have as a script so far.

Is there anything that can do that?
Any help is appreciated. Thanks!


I figured it out. I found the family by name, then the type, then used All Elements of Family Type.

1 Like