Input: Sentence: 'A group of students catching the school bus'. Count the number of nouns in this sentence.
Output: 4