Input: Sentence: 'The bear is climbing around the side of the rock'. Count the number of nouns in this sentence.
Output: 3