docs: public static int numNewAxis(INDArrayIndex... axes) {
          int ret = 0;
          for (INDArrayIndex index : axes)
              if (index instanceof NewAxis)
                  ret++;
          return ret;
      }