Input: Sentence: 'One person putting toothpaste on another persons toothbrush'. Count the number of nouns in this sentence.
Output: 4