Input: Sentence: 'A red and white no parking sign stands slanted near some trees'. Count the number of nouns in this sentence.
Output: 3