Input: Sentence: 'a little white cat with a red collar sitting in a chair'. Count the number of nouns in this sentence.
Output: 3