Input: Sentence: 'The monument has flags and a model space shuttle in front of it'. Count the number of nouns in this sentence.
Output: 6