Input: Sentence: 'Picture of an outside spot with a transport'. Count the number of nouns in this sentence.
Output: 3