text: #!/usr/bin/python3
  # --- 001 > U5W1P1_Task6_w1
  
  def solution( s, letter ):
      count = 0 
      # print(s)
      for x in s :
          if( x == letter):
              count += 1
      return count
  
  if __name__ == "__main__":
      print('----------start------------')
      s = "bacab"
      letter = "b"
      print(solution( s, letter ))
      print('------------end------------')
   