Input: Sentence: 'A picture of a dirty nasty bathroom stall'. Count the number of nouns in this sentence.
Output: 3