code: def member_counts(y_true, y_pred):
      assert len(y_true) == len(y_pred)
      return len(y_true)
  
file_path: fairlearn/examples/plot_new_metrics.py
imports: import functools
  import numpy
  import sklearn.metrics
  from sklearn.compose import ColumnTransformer
  from sklearn.compose import make_column_selector
  from sklearn.impute import SimpleImputer
  from sklearn.linear_model import LogisticRegression
  from sklearn.model_selection import train_test_split
  from sklearn.pipeline import Pipeline
  from sklearn.preprocessing import OneHotEncoder, StandardScaler
  from fairlearn.datasets import fetch_adult
  from fairlearn.metrics import MetricFrame, count, selection_rate
label_desc: Use image node_id 4 for calling a global function with example usage: member_counts(y_true, y_pred) and returns: len