Task: Pos Tagging
Input (English): Sentence: 'A dog stretching on a ledge near water'. Count the number of nouns in this sentence.
Output (English): 3