input: 
  from typing import List
  
  def count_until_larger(nums: List[int]) -> int:
      """Given a list of integers, count the number of elements you need to see until you 
      find an element that is larger than the first element in the list. If no such 
      element exists, return the length of the list.
      >>> count_until_larger([3, 1, 4, 1, 5, 9])
      2
      >>> count_until_larger([1, 1, 1, 1, 1])
      5
      """
  
output:     first_element = nums[0]
      count = 0
      for num in nums:
          if num > first_element:
              return count
          count += 1
      return len(nums)