Input: Sentence: 'World flags decorate a busy urban street corner'. Count the number of nouns in this sentence.
Output: 3