Input: Sentence: 'An elephant is by itself standing for the picture'. Count the number of nouns in this sentence.
Output: 2