Input: Sentence: 'two men in suites some flags and pillars'. Count the number of nouns in this sentence.
Output: 4