Input: Sentence: 'A group of people sitting around a window watching fireworks'. Count the number of nouns in this sentence.
Output: 4