If id_set is an id_list then this is equivalent to length().
If it is a web_history, this may involve an Entrez API call to get the
number of entries. In this case the result is cached so that subsequent
calls don't hit the API again.
Arguments
- id_set
an ID set object.
- .call
call environment to use in error messages/traces. See rlang::topic-error-call and the
callargument ofcli::cli_abort(). You only need to specify this in internal helper functions that don't need to be mentioned in error messages.