Input: Sentence: 'A wall with urinals and a television in a bathroom'. Count the number of nouns in this sentence.
Output: 4