Input: Sentence: 'A necklace that is under a hair clip'. Count the number of nouns in this sentence.
Output: 3