Input: Sentence: 'A group of surfers are at the beach looking at the waves'. Count the number of nouns in this sentence.
Output: 4