Input: Sentence: 'A baby chewing on toys with mother holding'. Count the number of nouns in this sentence.
Output: 3