Input: Sentence: 'A bird with a long beak wades in algae-covered water'. Count the number of nouns in this sentence.
Output: 4