Input: Sentence: 'A small bathroom with a toilet and some containers on the back of it'. Count the number of nouns in this sentence.
Output: 4