Input: Sentence: 'A seagull flies in close-up with a hilltop in the background'. Count the number of nouns in this sentence.
Output: 5