Input: Sentence: 'A little girl holding a purple polka dot umbrella on a rainy day'. Count the number of nouns in this sentence.
Output: 5