Input: Sentence: 'A group of brown teddy bears one without a head'. Count the number of nouns in this sentence.
Output: 3