Input: Sentence: 'A toilet sitting outside with plants on the top of the toilet'. Count the number of nouns in this sentence.
Output: 4