Input: Sentence: 'fish eye lens photograph of a man in his office'. Count the number of nouns in this sentence.
Output: 6