Input: Sentence: 'A young boy touching something near his bed'. Count the number of nouns in this sentence.
Output: 2