code: public int queue(String name) {
      Queue<?> q = isEmpty() ? null : queue(get(0), name, null);
      return q == null ? 0 : q.size();
    }
docs: Show the number of functions to be executed on the first matched element
  in the named queue.