Input: Sentence: 'There are a pair of parasailers in the water near the rocky beach'. Count the number of nouns in this sentence.
Output: 4