comefrom: <doocs>2148.Count Elements With Strictly Smaller and Greater Elements_1.py
code: def countElements( nums: List[int]) -> int:
      mi, mx = min(nums), max(nums)
      return sum(mi < num < mx for num in nums)
masked: def sample_funcname ( var_0 : List [ int ] ) -> int :
      var_4 , var_6 = min ( var_0 ) , max ( var_0 )
      return sum ( var_4 < var_8 < var_6 for var_8 in var_0 )
  