Input: Sentence: 'A woman holding an umbrella takes a photo in front of the skyline'. Count the number of nouns in this sentence.
Output: 5