code: public static int sameTagElNums(Element e,Scope scope){
          Elements context = new Elements();
          Elements els = e.parent().getElementsByTag(e.tagName());
          for (Element el:els){
              if (scope.context().contains(el)){
                  context.add(el);
              }
          }
          return context.size();
      }
docs: 获取同胞中同名元素的数量
  @param e
  @return