code: public static SiblingCounter constant( final int count ) {
          assert count > -1;
          return new SiblingCounter() {
              @Override
              public int countSiblingsNamed( Name childName ) {
                  return count;
              }
          };
      }
docs: Create a sibling counter that always return the supplied count, regardless of the name or node.
  
  @param count the count to be returned; may not be negative
  @return the counter that always returns {@code count}; never null