code: def length(data: pd.DataFrame) -> int:
      """
      Args:
          data (pd.DataFrame): Time series.
  
      Returns:
          int: Length of the time series.
      """
      return int(data.shape[0])
  
file_path: tslumen/tslumen/profile/summary.py
imports: from typing import Any, Optional
  import numpy
  import pandas
  from statsmodels.tsa.tsatools import freq_to_period
  from tslumen.profile.base import ProfilingFunction, TypeSeriesFrame
label_desc: Use image node_id 2 for calling a global function with example usage: length(data) and returns: int