code: def test_get_depth(es):
      log_id_feat = IdentityFeature(es["log"].ww["id"])
      customer_id_feat = IdentityFeature(es["customers"].ww["id"])
      count_logs = Feature(
          log_id_feat, parent_dataframe_name="sessions", primitive=Count
      )
      sum_count_logs = Feature(
          count_logs,
          parent_dataframe_name="customers",
          primitive=Sum,
      )
      num_logs_greater_than_5 = sum_count_logs > 5
      count_customers = Feature(
          customer_id_feat,
          parent_dataframe_name="régions",
          where=num_logs_greater_than_5,
          primitive=Count,
      )
      num_customers_region = Feature(
          count_customers, dataframe_name="customers"
      )
  
      depth = num_customers_region.get_depth()
      assert depth == 5
  
imports: from datetime import datetime
  from inspect import isclass
  from math import isnan
  import numpy
  import pandas
  import pytest
  from woodwork.column_schema import ColumnSchema
  from woodwork.logical_types import Datetime
  from featuretools import AggregationFeature, Feature, IdentityFeature, Timedelta, calculate_feature_matrix, dfs, primitives
  from featuretools.entityset.relationship import RelationshipPath
  from featuretools.feature_base.cache import feature_cache
  from featuretools.primitives import Count, Max, Mean, Median, NMostCommon, NumTrue, NumUnique, Sum, TimeSinceFirst, TimeSinceLast, get_aggregation_primitives
  from featuretools.primitives.base import AggregationPrimitive
  from featuretools.synthesis.deep_feature_synthesis import DeepFeatureSynthesis, match
  from featuretools.tests.testing_utils import backward_path, feature_with_name, to_pandas
  from featuretools.utils.gen_utils import Library
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_depth(es) without return types