Input: Sentence: 'A woman walking through the city with an umbrella'. Count the number of nouns in this sentence.
Output: 3