docs: public static SiblingCounter create( final ChildReferences childRefs ) {
          assert childRefs != null;
          return new SiblingCounter() {
              @Override
              public int countSiblingsNamed( Name childName ) {
                  return childRefs.getChildCount(childName);
              }
          };
      }