Get all child Static Mesh Components ?

How can I get get all child Static Mesh Components (by Blueprint) ?

I’m trying add Static Mesh Components to an Actor but need to know how many there are before I do.

Edit: Only way I can find is getting all components of root and boolean if the ObjectName matches “StaticMesh” then build an array.

Edit: Sorry found that get by class does work not sure why it didn’t the first time.