Input: Sentence: 'a close up of a urinal and a device next to it'. Count the number of nouns in this sentence.
Output: 2