Input: Sentence: 'Several balls of yarn are sitting on an oven top'. Count the number of nouns in this sentence.
Output: 3