Input: Sentence: 'A lady is smiling for the camera in front of a sheep'. Count the number of nouns in this sentence.
Output: 4