Input: Sentence: 'a bathroom with a rail on the side ot the bathtub'. Count the number of nouns in this sentence.
Output: 4