code: def get_worker_count(
      cls,
      runnable_class: t.Type[Runnable],
      resource_request: dict[str, t.Any] | None,
      workers_per_resource: int | float,
  ) -> int:
      ...
  
file_path: BentoML/src/bentoml/_internal/runner/strategy.py
imports: from __future__ import annotations
  import abc
  import logging
  import math
  import typing
  from ..resource import get_resource
  from ..resource import system_resources
  from .runnable import Runnable
label_desc: Use image node_id 1 for calling the Strategy obj's underlying member method code with example usage: obj.get_worker_count(cls, runnable_class, resource_request, workers_per_resource) without return types