code: public static int getSuperComponentCount(TypeElement component) {
      return getSuperComponentType(component)
          .map(superComponent -> getSuperComponentCount(superComponent) + 1)
          .orElse(0);
    }
docs: Return the number of super component in the chain of parents
  
  @param component The {@link IsVueComponent} to count the super type of
  @return The number of super components