Input: Sentence: 'A woman with a plate full of cupcakes'. Count the number of nouns in this sentence.
Output: 3