docs: public static Number count(Iterator self, Object value) {
          long answer = 0;
          while (self.hasNext()) {
              if (DefaultTypeTransformation.compareEqual(self.next(), value)) {
                  ++answer;
              }
          }
          // for b/c with Java return an int if we can
          if (answer <= Integer.MAX_VALUE) return (int) answer;
          return answer;
      }