Input: Sentence: 'A person is walking down the beach holding a surfboard'. Count the number of nouns in this sentence.
Output: 3