Input: Sentence: 'Two women stand next to a stop sign with a can of white paint'. Count the number of nouns in this sentence.
Output: 4