new_contents: '''
  Count occurences
  
  Given an array of sorted integers and a number K, your task is to print to the standard output (stdout) the number of occurences for K in the initial array.
  
  Expected complexity: lower than O(N)
  
  Example input:
  V = 1 2 3 3 3 3 4 4
  K = 3
  
  Example output:
  4
  '''
  
  def count_occurences(v, k):
          print v.count(k)
  
subject: Create count_occurrences.py