Input: Sentence: 'A group of red and white planes fly in formation by some clouds'. Count the number of nouns in this sentence.
Output: 4