Input: Sentence: 'A man brushing his teeth with a tooth brush'. Count the number of nouns in this sentence.
Output: 4