Input: Sentence: 'A woman biting into a bread bun while wearing a necklace'. Count the number of nouns in this sentence.
Output: 4