Input: Sentence: 'Two little girls sitting on bench in the sand'. Count the number of nouns in this sentence.
Output: 3