code: def length(self):
      if self.last_response:
          return self.last_response["project"]["artifactType"][
              "artifactCollections"
          ]["totalCount"]
      else:
          return None
  
imports: import json
  from typing import TYPE_CHECKING, Any, Mapping, Optional, Sequence
  from wandb_gql import Client, gql
  import wandb
  from wandb.apis import public
  from wandb.apis.normalize import normalize_exceptions
  from wandb.apis.paginator import Paginator
label_desc: Use image node_id 2 for calling the ArtifactCollections obj's underlying member method code with example usage: obj.length() and returns: self, None