input: Write a python function to count the number of words with exactly one vowel in a given sentence.
  assert filter_words_with_one_vowel('I hardly ever go out and I hate taking pictures.') == 4
  assert filter_words_with_one_vowel('This is a simple test.') == 2
  assert filter_words_with_one_vowel('No words with one vowel here.') == 0
output: def filter_words_with_one_vowel(sentence):
      def has_one_vowel(word):
          vowels = set("aeiouAEIOU")
          count = sum(1 for char in word if char in vowels)
          return count == 1
  
      words = sentence.split()
      return sum(1 for word in words if has_one_vowel(word))