Input: Sentence: 'a table with some doughnuts sitting on top of it'. Count the number of nouns in this sentence.
Output: 3