Input: Sentence: 'A hand holding a partially eaten doughnut hole'. Count the number of nouns in this sentence.
Output: 3