I figured it out. If I want to validate the number of children I had better take into consideration that one may inhabit multiple locations in the sorted list in the case of multiple identical child actions.