Controlling the Quantity of Static Spawn Meshes in PCG

Hello everyone,

I’m wondering if there’s a way to control the quantity of spawned meshes within a Closed Spline PCG Graph. In other words, I want to limit the number of spawned meshes to five within a closed spline loop. Ideally, as the area of the spline is extended, the number of meshes should increase accordingly.

Thank you.