input: text
  from typing import List
  
  def count_even_num(list: List[int]) -> int:
      """
      Count the number of even numbers in a given list of numbers.
      >>> count_even_num([1, 2, 3, 4, 5])
      2
      """
      return len([x for x in list if x % 2 == 0])
  
output:     return len([x for x in list if x % 2 == 0])