Input: Sentence: 'A small brown teddy bear handing off of a persons right hand'. Count the number of nouns in this sentence.
Output: 4