code: def get_fps(video_path: str):
      r"""
          Returns the FPS in a video at ``video_path``.
  
      Args:
          video_path (str): Video Filepath
  
      Returns:
          FPS value.
  
      """
      if not exists(video_path):
          raise ValueError("Specify a valid video path")
  
      stream = Stream(video_path)
      fps_count = stream.get_fps()
      stream.release()
  
      return fps_count
  
imports: from .stream import Stream
  from ..path import exists
  from ..annotations import Optional
label_desc: Use image node_id 2 for calling a global function with example usage: get_fps(video_path) and returns: fps_count