Input: Sentence: 'A woman plays around with a small white and brown dog'. Count the number of nouns in this sentence.
Output: 2