Input: Sentence: 'a couple of  trucks next to a green building'. Count the number of nouns in this sentence.
Output: 3