Input: Sentence: 'this is a woman carrying a blue purse'. Count the number of nouns in this sentence.
Output: 2