Input: Sentence: 'A small kitchen has teal green walls and a small window'. Count the number of nouns in this sentence.
Output: 3