I'm trying to do something fairly simple (I think) in modelbuilder but I can't wrap my head around how the iterators and logic operators work. Basically, I have a dataset with thousands of points and I want to randomly select one point, then select all the points within a certain distance and store them in a new feature class. The model I've built (picture attached) accomplishes this task up until this point. However, I would like this process to continue repeating itself until the new feature class has a certain number of rows. I was thinking of using the "If Row Count Is" operator, but I don't know where exactly to add it or how to point it to the steps I want repeated. Any help would be appreciated!