Input: Sentence: 'There is a bird walking on the shore line'. Count the number of nouns in this sentence.
Output: 3