code: def _check_asset_file_number(asset_path):
      n_files = len(
          [
              f
              for f in glob.iglob(
                  os.path.join(asset_path, "**/*"), recursive=True
              )
          ]
      )
      if n_files > 50:
          click.secho(
              "It looks like you are attempting to push an asset with more than 50 files"
              f" in it ({n_files}).\n"
              "This can lead to poor performance when retrieving the asset, and should"
              " be avoided.\n"
              "You should consider archiving and compressing it.",
              fg="red",
          )
          if click.confirm("Proceed anyways ?", abort=True):
              pass
  
imports: import glob
  import os
  import re
  import sys
  import tempfile
  import click
  from rich.console import Console
  from rich.progress import Progress, SpinnerColumn
  from rich.table import Table
  from rich.tree import Tree
  from modelkit.assets.drivers.abc import StorageDriverSettings
  from modelkit.assets.errors import ObjectDoesNotExistError
  from modelkit.assets.manager import AssetsManager
  from modelkit.assets.remote import DriverNotInstalledError, StorageProvider
  from modelkit.assets.settings import AssetSpec
label_desc: Use image node_id 4 for calling a global function with example usage: _check_asset_file_number(asset_path) without return types